Last active
October 6, 2017 13:37
-
-
Save aderaaij/3975bae3ffad3548b27f6593b3e83677 to your computer and use it in GitHub Desktop.
React ESLINT config
This file contains hidden or 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
{ | |
"env": { | |
"node": true, | |
"browser": true, | |
"es6": true | |
}, | |
"extends": "airbnb-base", | |
"parserOptions": { | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"rules": { | |
"no-use-before-define": [ | |
1, | |
{ | |
"functions": false, | |
"classes": false | |
} | |
], | |
"func-names": 0, | |
"no-unused-vars": 1, | |
"no-underscore-dangle": 0, | |
"no-console": 0, | |
"indent": [ | |
"error", | |
4 | |
], | |
"linebreak-style": [ | |
"error", | |
"unix" | |
], | |
"quotes": [ | |
"error", | |
"single" | |
], | |
"semi": [ | |
"error", | |
"always" | |
], | |
"no-plusplus": [ | |
"warn" | |
], | |
"import/no-unresolved": [ | |
"warn" | |
], | |
"import/extensions": [ | |
"warn" | |
], | |
"import/no-extraneous-dependencies": [ | |
"warn" | |
], | |
"max-len": [ | |
"warn" | |
], | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment