Created
June 29, 2017 04:30
-
-
Save hoangbits/4c33ccfa0db3261e5327246ff805ca00 to your computer and use it in GitHub Desktop.
Eslint
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", | |
"disallowMultipleVarDecl": false, | |
"rules": { | |
"one-var": 0, | |
"comma-dangle": 0, | |
"max-len": [0, 120, 4], | |
"indent": [2, 4], | |
"key-spacing": [2, { | |
"beforeColon": false, | |
"afterColon": true | |
}] | |
} | |
} |
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
Installed the NPM packages below | |
npm install --save-dev eslint eslint-plugin-jsx-a11y eslint-plugin-import eslint-config-airbnb eslint-plugin-react | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment