2017-11-01 16:44:54 +03:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true,
|
|
|
|
"mocha": true
|
|
|
|
},
|
2019-08-19 14:41:09 +03:00
|
|
|
"plugins": [
|
|
|
|
"ghost"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:ghost/test"
|
|
|
|
],
|
2017-11-01 16:44:54 +03:00
|
|
|
"rules": {
|
2019-08-19 14:41:09 +03:00
|
|
|
// these rules were were not previously enforced in our custom rules,
|
|
|
|
// they're turned off here because they _are_ enforced in our plugin.
|
|
|
|
// TODO: remove these custom rules and fix the problems in test files where appropriate
|
2017-11-01 16:44:54 +03:00
|
|
|
"camelcase": "off",
|
|
|
|
"no-prototype-builtins": "off",
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"no-useless-escape": "off",
|
2019-08-19 14:41:09 +03:00
|
|
|
|
|
|
|
// TODO: remove these custom rules and fix problems in test files
|
|
|
|
"ghost/mocha/max-top-level-suites": "off",
|
|
|
|
"ghost/mocha/no-identical-title": "off",
|
|
|
|
"ghost/mocha/no-setup-in-describe": "off",
|
|
|
|
"ghost/mocha/no-sibling-hooks": "off"
|
2017-11-01 16:44:54 +03:00
|
|
|
}
|
|
|
|
}
|