Skip to content

Commit

Permalink
Merge pull request #1848 from damienbod/fabiangosebrink-fix/strict-mo…
Browse files Browse the repository at this point in the history
…de-1

moving to strict mode
  • Loading branch information
FabianGosebrink committed Mar 23, 2024
2 parents 6c778a4 + d2da01e commit 3465e3d
Show file tree
Hide file tree
Showing 210 changed files with 2,246 additions and 2,161 deletions.
18 changes: 14 additions & 4 deletions .eslintrc.json
Expand Up @@ -6,7 +6,8 @@
"files": ["*.ts"],
"parserOptions": {
"project": ["tsconfig.json"],
"createDefaultProgram": true
"createDefaultProgram": true,
"tsconfigRootDir": "./"
},
"extends": [
"plugin:@angular-eslint/recommended",
Expand All @@ -21,7 +22,6 @@
"format": ["PascalCase"]
}
],
"newline-before-return": "error",
"max-len": "off",
"no-useless-constructor": "off",
"lines-between-class-members": ["error", "always"],
Expand All @@ -36,12 +36,22 @@
"no-empty": ["error"],
"@typescript-eslint/no-empty-function": ["error"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"@typescript-eslint/ban-types": ["error"],
"no-useless-escape": ["error"],
"no-prototype-builtins": ["error"],
"prefer-spread": ["error"],
"@typescript-eslint/no-explicit-any": "off"
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/typedef": ["error"],
"@typescript-eslint/explicit-function-return-type": ["error"],
"newline-before-return": ["error"],
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
]
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Installing Dependencies
run: npm ci

- name: Linting Frontend
- name: Linting Library
run: npm run lint-lib

- name: Testing Frontend
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -50,3 +50,4 @@ Thumbs.db
debug.log

/.husky
/.nx

0 comments on commit 3465e3d

Please sign in to comment.