Skip to content

Commit

Permalink
Config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
almothafar committed Sep 16, 2024
1 parent 16c1445 commit c89de9a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,20 @@
],
"rules": {
"no-underscore-dangle": "off",
"semi": ["error", "always"],
"no-console": ["error", { "allow": ["log","warn", "error"] }],
"semi": [
"error",
"always"
],
"no-console": [
"error",
{
"allow": [
"log",
"warn",
"error"
]
}
],
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
Expand All @@ -33,7 +45,11 @@
"error",
{
"selector": "variable",
"format": ["camelCase", "UPPER_CASE", "PascalCase"],
"format": [
"camelCase",
"UPPER_CASE",
"PascalCase"
],
"leadingUnderscore": "allow"
}
],
Expand Down
8 changes: 8 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,13 @@
"schematicCollections": [
"@angular-eslint/schematics"
]
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}

0 comments on commit c89de9a

Please sign in to comment.