0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/.eslintrc.json

21 lines
540 B
JSON
Raw Normal View History

{
"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"],
// @TODO: enable this for all components once it gets a bit quieter
"ghost/ghost-custom/no-cross-requires": ["warn", {"shared": true, "server": false, "frontend": false}]
}
}