.eslintrc.json
{
"root": true,
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/component-selector": [
"error",
{
"prefix": "app",
"style": "kebab-case",
"type": "element"
}
],
"@angular-eslint/directive-selector": [
"error",
{
"prefix": "app",
"style": "camelCase",
"type": "attribute"
}
],
"@angular-eslint/no-output-native": "off"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended",
"plugin:prettier/recommended"
],
"rules": {}
},
{
"files": [
"*.stories.@(ts|tsx|js|jsx|mjs|cjs)"
],
"rules": {
"storybook/story-exports": "off"
}
}
],
"rules": {
"prettier/prettier": "error"
},
"plugins": [
"prettier"
],
"extends": [
"plugin:storybook/recommended",
"prettier"
]
}