mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
7f1d3ebc07
- move all test files from core/test to test/ - updated all imports and other references - all code inside of core/ is then application code - tests are correctly at the root level - consistent with other repos/projects Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
33 lines
951 B
JSON
33 lines
951 B
JSON
{
|
|
"env": {
|
|
"es6": true,
|
|
"node": true,
|
|
"mocha": true
|
|
},
|
|
"plugins": [
|
|
"ghost"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:ghost/test"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2017
|
|
},
|
|
"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"
|
|
}
|
|
}
|