Skip to content

Instantly share code, notes, and snippets.

@danielfnz
Created July 28, 2025 12:37
Show Gist options
  • Select an option

  • Save danielfnz/4ee81041f30fadf8aae523718799b571 to your computer and use it in GitHub Desktop.

Select an option

Save danielfnz/4ee81041f30fadf8aae523718799b571 to your computer and use it in GitHub Desktop.
eslint
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "app",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "app",
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended",
"plugin:@angular-eslint/template/accessibility"
],
"rules": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment