Skip to content

Commit

Permalink
Merge pull request #11 from mrmihi/dev
Browse files Browse the repository at this point in the history
feat: added linting and formatting
  • Loading branch information
mrmihi authored Dec 8, 2023
2 parents 1cdb554 + 67f65f1 commit 6529b82
Show file tree
Hide file tree
Showing 14 changed files with 607 additions and 125 deletions.
37 changes: 37 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"root": true,
"ignorePatterns": ["projects/**/*", "dist/**/*"],
"overrides": [
{
"files": ["*.ts"],
"parserOptions": {
"project": ["tsconfig.json", "e2e/tsconfig.json"],
"createDefaultProgram": true
},
"extends": ["plugin:@angular-eslint/recommended"],
"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"],
"rules": {}
}
]
}
Loading

0 comments on commit 6529b82

Please sign in to comment.