Created
September 25, 2018 14:31
-
-
Save lfades/8a18e09638ba38b55f3fb12a23c23651 to your computer and use it in GitHub Desktop.
My personal linter config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": [ | |
"airbnb", | |
"prettier", | |
"prettier/react" | |
], | |
"plugins": [ | |
"prettier" | |
], | |
"parser": "babel-eslint", | |
"env" : { | |
"browser": true, | |
"node": true | |
}, | |
"rules": { | |
"prettier/prettier": [ | |
"error", | |
{ | |
"singleQuote": true | |
} | |
], | |
"no-console": "off", | |
"consistent-return": "off", | |
"no-underscore-dangle": "off", | |
"react/react-in-jsx-scope": "off", | |
"react/no-unescaped-entities": "off", | |
"react/forbid-prop-types": "off", | |
"react/jsx-filename-extension": [ | |
"error", | |
{ | |
"extensions": [ | |
".js", | |
".jsx" | |
] | |
} | |
], | |
"import/prefer-default-export": "off", | |
"jsx-a11y/label-has-for": "off" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment