Skip to content

Commit 8d6f4a7

Browse files
authored
Update angular (#300)
* update keycloack * update angular to v12 * update angular material to v12 * fix errors * update cli * update angular to v13 * update angular material to v13 * update eslint * remove tslint from ci
1 parent 00a846e commit 8d6f4a7

File tree

155 files changed

+17857
-28857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+17857
-28857
lines changed

.eslintrc.js

-65
This file was deleted.

.eslintrc.json

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"projects/*",
5+
"src/index.html",
6+
"src/assets/silent-check-sso.html",
7+
"node_modules/*"
8+
],
9+
"settings": {
10+
"import/core-modules": ["keycloak-angular"]
11+
},
12+
"overrides": [
13+
{
14+
"files": ["*.ts"],
15+
"parserOptions": {
16+
"project": ["tsconfig.json", "e2e/tsconfig.json"],
17+
"createDefaultProgram": true
18+
},
19+
"extends": [
20+
"plugin:@angular-eslint/recommended",
21+
"airbnb-typescript/base",
22+
"prettier/@typescript-eslint",
23+
"plugin:prettier/recommended",
24+
"plugin:@angular-eslint/template/process-inline-templates"
25+
],
26+
"rules": {
27+
"import/prefer-default-export": "off",
28+
"@typescript-eslint/lines-between-class-members": "off",
29+
"class-methods-use-this": "off",
30+
"no-underscore-dangle": "off",
31+
"prettier/prettier": [
32+
"warn",
33+
{
34+
"endOfLine": "auto"
35+
}
36+
]
37+
}
38+
},
39+
{
40+
"files": ["*.component.html"],
41+
"extends": ["plugin:@angular-eslint/template/recommended"],
42+
"rules": {
43+
"max-len": ["error", { "code": 140 }]
44+
}
45+
},
46+
{
47+
"files": ["src/**/*.spec.ts", "src/**/*.d.ts"],
48+
"parserOptions": {
49+
"project": "./tsconfig.spec.json"
50+
},
51+
// Jasmine rules
52+
"extends": ["plugin:jasmine/recommended"],
53+
// Plugin to run Jasmine rules
54+
"plugins": ["jasmine"],
55+
"env": { "jasmine": true },
56+
// Turn off 'no-unused-vars' rule
57+
"rules": {
58+
"@typescript-eslint/no-unused-vars": "off"
59+
}
60+
},
61+
{
62+
"files": ["*.js"],
63+
"parserOptions": {
64+
"ecmaVersion": 2020
65+
},
66+
"env": {
67+
"es6": true
68+
}
69+
}
70+
]
71+
}

.github/workflows/main.yml

-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
run: node node_modules/protractor/bin/webdriver-manager update --versions.chrome 96.0.4664.45 --gecko false --standalone false
3232
- name: Lint
3333
run: npm run lint
34-
- name: TSLint
35-
run: npm run tslint
3634
- name: Build
3735
run: npm run build
3836
- name: Test

0 commit comments

Comments
 (0)