3eeb899e65
refs 635580f291
- Changed `no-shadow` eslint rule from `warn` to `error` so we don't re-introduce shadowed variables in the future. Should be removed once this change is introduced in a base plugin
- Referenced commit is a chain of commits which fixed the warning which this rule was producing previously
19 lines
351 B
JSON
19 lines
351 B
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"plugins": [
|
|
"ghost"
|
|
],
|
|
"extends": [
|
|
"plugin:ghost/node"
|
|
],
|
|
"rules": {
|
|
// TODO: remove this rule once it's turned into "error" in the base plugin
|
|
"no-shadow": "error",
|
|
"no-var": "error",
|
|
"one-var": [2, "never"]
|
|
}
|
|
}
|