igniteui-angular-sovn
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
52 lines (51 loc) • 1.8 kB
JSON
{
"extends": "../../.eslintrc.json",
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts"],
"parserOptions": {
"project": [
"projects/igniteui-angular-sovn/tsconfig.lib.json",
"projects/igniteui-angular-sovn/tsconfig.spec.json"
],
"createDefaultProgram": true
},
"rules": {
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": ["igx", "igc"],
"style": "kebab-case"
}
],
"@angular-eslint/directive-selector": [
"error",
{
"type": ["attribute", "element"],
"prefix": ["igx", "igc"]
}
],
"@angular-eslint/no-input-rename": "off",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"brace-style": ["error", "1tbs"],
"id-blacklist": "off",
"id-match": "off",
"no-underscore-dangle": "off",
"no-restricted-syntax": [
"error",
{
"selector": "Decorator[expression.callee.name=HostBinding] Literal[value='attr.class']",
"message": "Do not use `attr.class` HostBinding in public-facing components"
}
]
}
},
{
"files": ["*.html"],
"rules": {}
}
]
}