Last active
March 24, 2019 14:37
-
-
Save xilikas/989788932e0af2bde6f0e6182698efe0 to your computer and use it in GitHub Desktop.
Scott Tolinski's ESLint Config. Must install eslint-config-airbnb for it to work.
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
// Must install eslint-config-airbnb | |
module.exports = { | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"settings": { | |
"ecmascript": 6, | |
"jsx": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 2017, | |
"ecmaFeatures": { | |
"experimentalObjectRestSpread": true, | |
"experimentalDecorators": true, | |
"jsx": true | |
}, | |
"sourceType": "module" | |
}, | |
"plugins": [ | |
"react", | |
], | |
"extends": "airbnb", | |
"rules": { | |
"react/jsx-filename-extension": 0, | |
"function-paren-newline": 0, | |
"import/no-unresolved": 0, | |
"import/prefer-default-export": 0, | |
"radix": 0, | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment