Created
August 4, 2017 15:55
-
-
Save aderaaij/2baaa7fdc319d43233b07f73c8ef739a to your computer and use it in GitHub Desktop.
Eslint
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
Show hidden 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