зеркало из https://github.com/github/catalyst.git
37 строки
803 B
JSON
37 строки
803 B
JSON
{
|
|
"root": true,
|
|
"plugins": ["github"],
|
|
"extends": ["plugin:github/recommended", "plugin:github/typescript", "plugin:github/browser"],
|
|
"rules": {
|
|
"import/no-unresolved": "off",
|
|
"github/no-inner-html": "off",
|
|
"i18n-text/no-en": "off",
|
|
"import/extensions": ["error", "ignorePackages"],
|
|
"@typescript-eslint/consistent-type-imports": ["error", {"prefer": "type-imports"}]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": "test/*",
|
|
"rules": {
|
|
"@typescript-eslint/no-empty-function": "off"
|
|
},
|
|
"globals": {
|
|
"chai": false,
|
|
"expect": false
|
|
},
|
|
"env": {
|
|
"mocha": true
|
|
}
|
|
},
|
|
{
|
|
"files": "*.cjs",
|
|
"rules": {
|
|
"import/no-commonjs": "off"
|
|
},
|
|
"env": {
|
|
"node": true
|
|
}
|
|
}
|
|
]
|
|
}
|