Skip to content

Instantly share code, notes, and snippets.

@stolinski
Created March 2, 2018 02:32
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 stolinski/7865cd705e3bdc6e94e40fcb1584ad18 to your computer and use it in GitHub Desktop.
Save stolinski/7865cd705e3bdc6e94e40fcb1584ad18 to your computer and use it in GitHub Desktop.
React For Everyone esline
{
"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"
},
"extends": "airbnb",
"plugins": [
"react",
"prettier"
],
"rules": {
"no-console": "off",
"react/no-multi-comp": 0,
"import/prefer-default-export": 0,
"import/no-absolute-path": 0,
"radix": 0,
"generator-star-spacing": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types":[0],
"no-underscore-dangle":[2,{ "allow": ["_id"] }],
"no-use-before-define": [0],
"import/extensions": [1, "never"],
"jsx-a11y/no-static-element-interactions": [0],
"no-return-assign": [0],
"func-names": [0],
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment