Skip to content

Instantly share code, notes, and snippets.

@bertez
Last active May 16, 2019 19:33
Show Gist options
  • Save bertez/69cbc60005ff55d5ea707103a24773fa to your computer and use it in GitHub Desktop.
Save bertez/69cbc60005ff55d5ea707103a24773fa to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2016,
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"plugins": ["react", "security"],
"rules": {
"security/detect-object-injection": 0,
"react/prop-types": 0,
"quotes": [1, "single"],
"linebreak-style": [2, "unix"],
"semi": [1, "always"],
"no-unused-vars": [1, { "vars": "all", "args": "none" }],
"no-console": [1, { "allow": ["warn", "error"] }]
},
"env": {
"es6": true,
"node": true,
"amd": true,
"browser": true,
"jquery": true,
"mocha": true
},
"globals": {
"DEVELOPMENT": true,
"PRODUCTION": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"prettier",
"prettier/react",
"plugin:security/recommended"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment