eslint-config-sentry-app-strict
Advanced tools
Comparing version
26
index.js
module.exports = { | ||
extends: [ | ||
'sentry-app' | ||
], | ||
extends: ['sentry-app'], | ||
rules: { | ||
"no-console": ['error'], | ||
"no-debugger": ['error'], | ||
'no-console': ['error'], | ||
'no-debugger': ['error'], | ||
// This only override the `args` rule (which is "none"). There are too many errors and it's difficult to manually | ||
// fix them all, so we'll have to incrementally update. | ||
'no-unused-vars': [ | ||
'error', | ||
{ | ||
vars: 'all', | ||
args: 'all', | ||
// Ignore vars that start with an underscore | ||
// e.g. if you want to omit a property using object spread: | ||
// | ||
// const {name: _name, ...props} = this.props; | ||
// | ||
varsIgnorePattern: '^_', | ||
argsIgnorePattern: '^_', | ||
}, | ||
], | ||
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-is-mounted.md | ||
@@ -11,0 +27,0 @@ 'react/no-is-mounted': ['error'], |
{ | ||
"name": "eslint-config-sentry-app-strict", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "sentry.io eslint config for SPA (strict)", | ||
@@ -29,5 +29,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"eslint-config-sentry-app": "^1.12.0" | ||
"eslint-config-sentry-app": "^1.13.0" | ||
}, | ||
"gitHead": "10a12e8ab92d71ae5bda403317877be60c6e9034" | ||
"gitHead": "203c1090e00b0a93f2cf931f7d035203e1bd88ce" | ||
} |
47728
1.15%32
77.78%