Skip to content

Instantly share code, notes, and snippets.

@xilikas
Last active March 24, 2019 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xilikas/989788932e0af2bde6f0e6182698efe0 to your computer and use it in GitHub Desktop.
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.
// 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