Created
January 4, 2018 02:56
-
-
Save radjivF/02bf6e9ac71d04ab3b1b0b5749b00ddc to your computer and use it in GitHub Desktop.
Personal linter based on airbnb guideline
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": [ | |
"eslint:recommended", "plugin:react/recommended", "airbnb" | |
], | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true, | |
"mocha": true | |
}, | |
"plugins": [ | |
"react" | |
], | |
"rules": { | |
"quotes": [2, "single"], | |
"no-console": 1, | |
"no-empty": 1, | |
"no-extra-semi": 1, | |
"semi": [1,"never"], | |
"no-alert": 1, | |
"no-unused-vars": 0, | |
"react/display-name": 0, | |
"react/prop-types": 0, | |
"react/no-multi-comp": 0, | |
"comma-dangle": ["error", { | |
"arrays": "never", | |
"objects": "never", | |
"imports": "never", | |
"exports": "never", | |
"functions": "ignore" | |
}] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment