Ghost/core/test/.eslintrc.json
Kevin Ansfield d0fa149e0e Updated tests eslint config to use eslint-plugin-ghost@0.5.0
no issue
- bump eslint-plugin-ghost to v0.5.0
- update core/test eslint config to use "ghost:test" in place of custom ruleset
- apply automated eslint fixes
2019-08-19 13:38:35 +01:00

30 lines
893 B
JSON

{
"env": {
"es6": true,
"node": true,
"mocha": true
},
"plugins": [
"ghost"
],
"extends": [
"eslint:recommended",
"plugin:ghost/test"
],
"rules": {
// 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
"camelcase": "off",
"no-prototype-builtins": "off",
"no-unused-vars": "off",
"no-useless-escape": "off",
// 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"
}
}