mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"root": true,
|
|
"ignorePatterns": ["**/*"],
|
|
"plugins": ["@nx"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
"rules": {
|
|
"@nx/enforce-module-boundaries": [
|
|
"error",
|
|
{
|
|
"enforceBuildableLibDependency": true,
|
|
"allow": [],
|
|
"depConstraints": [
|
|
{
|
|
"sourceTag": "*",
|
|
"onlyDependOnLibsWithTags": ["*"]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"@angular-eslint/no-host-metadata-property": [
|
|
"error",
|
|
{
|
|
"allowStatic": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.ts", "*.tsx"],
|
|
"extends": ["plugin:@nx/typescript"],
|
|
"rules": {
|
|
"@typescript-eslint/no-extra-semi": "error",
|
|
"no-extra-semi": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.js", "*.jsx"],
|
|
"extends": ["plugin:@nx/javascript"],
|
|
"rules": {
|
|
"@typescript-eslint/no-extra-semi": "error",
|
|
"no-extra-semi": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
|
|
"env": {
|
|
"jest": true
|
|
},
|
|
"rules": {}
|
|
},
|
|
{
|
|
"files": "*.json",
|
|
"parser": "jsonc-eslint-parser",
|
|
"rules": {}
|
|
}
|
|
]
|
|
}
|