Skip to content

Instantly share code, notes, and snippets.

@GalloDaSballo
Created October 6, 2020 11:49
Show Gist options
  • Select an option

  • Save GalloDaSballo/72aaccf7f7a310700cb866c03921d85c to your computer and use it in GitHub Desktop.

Select an option

Save GalloDaSballo/72aaccf7f7a310700cb866c03921d85c to your computer and use it in GitHub Desktop.
"eslintConfig": {
"env": {
"es6": true,
"browser": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"rules": {
"quotes": [
"error",
"double"
],
"no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
],
"camelcase": "warn",
"eqeqeq": "warn",
"consistent-return": "warn",
"func-names": "warn",
"no-param-reassign": "warn",
"import/prefer-default-export": "off",
"no-bitwise": "warn",
"no-console": "off",
"no-restricted-globals": "warn",
"no-shadow": "warn",
"no-use-before-define": "warn",
"no-underscore-dangle": "warn",
"react/display-name": "off",
"react/prop-types": "off",
"global-require": "warn",
"import/no-unresolved": "warn"
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"paths": [
"src",
"node_modules"
],
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment