fix: add eslint to docs

This commit is contained in:
d.strigo 2023-02-15 13:46:14 +01:00
parent ce5713ff13
commit 255a1f0054
3 changed files with 49 additions and 15 deletions

42
docs/.eslintrc.json Normal file
View file

@ -0,0 +1,42 @@
{
"extends": "../.eslintrc.json",
"ignorePatterns": [
"!**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"docs/tsconfig.app.json",
"docs/tsconfig.spec.json"
],
"createDefaultProgram": true
},
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.html"
],
"rules": {}
}
]
}