responsible-ai-widgets/.eslintrc.json

65 строки
1.5 KiB
JSON
Исходник Обычный вид История

{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"globals": {
"JSX": "readonly"
},
"extends": [
"plugin:@nrwl/nx/typescript",
"plugin:@nrwl/nx/javascript",
"plugin:@nrwl/nx/react",
"./.eslintrc/.eslintrc.comments.eslintrc",
"./.eslintrc/.eslintrc.filenames.eslintrc",
"./.eslintrc/.eslintrc.react.eslintrc",
"./.eslintrc/.eslintrc.import.eslintrc",
"./.eslintrc/.eslintrc.typescript.eslintrc",
"./.eslintrc/.eslintrc.unicorn.eslintrc",
"./.eslintrc/.eslintrc.custom.eslintrc",
"./.eslintrc/.eslintrc.worker.eslintrc",
"./.eslintrc/.eslintrc.type.eslintrc"
],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
],
"no-alert": ["error"],
"import/no-internal-modules": "off"
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": [],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": [],
"rules": {}
}
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"parserOptions": {
"project": "./tsconfig.*?.json"
}
}