Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

An ESLint Shareable Config for JavaScript Modul Style

Notifications You must be signed in to change notification settings

brcportal2/eslint-config-modul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-modul

JavaScript Style Guide

An ESLint Shareable Config for JavaScript Modul Style

Install

yarn add ssh://[email protected]/brcportal2/eslint-config-modul

.eslintrc:

{
  "extends": "modul"
}

Rules

Based on Airbnb JavaScript Style Guide with some differences:

  • eol-last - disabled
  • func-names - disabled
  • spaces-comment - disabled
  • import/prefer-default-export - disabled
  • class-methods-use-this - disabled
  • indent - set to 4 spaces
  • react/jsx-indent - set to 4 spaces
  • react/jsx-indent-props - set to 4 spaces
  • react/require-default-props - disabled
  • react/jsx-one-expression-per-line - disabled
  • jsx-a11y/anchor-has-content - disabled
  • jsx-a11y/click-events-have-key-events - disabled
  • jsx-a11y/no-static-element-interactions - disabled
  • jsx-a11y/anchor-is-valid - disabled

About

An ESLint Shareable Config for JavaScript Modul Style

Resources

Stars

Watchers

Forks

Packages

No packages published