Skip to content

Commit 1d9a627

Browse files
authored
Merge pull request #2 from buildo/update
Update Angular to v21
2 parents 48d34a6 + 4511c69 commit 1d9a627

19 files changed

Lines changed: 12695 additions & 23176 deletions

.eslintrc.json

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,8 @@
1515
"plugin:@angular-eslint/template/process-inline-templates"
1616
],
1717
"rules": {
18-
"@angular-eslint/directive-selector": [
19-
"error",
20-
{
21-
"type": "attribute",
22-
"prefix": "lib",
23-
"style": "camelCase"
24-
}
25-
],
26-
"@angular-eslint/component-selector": [
27-
"error",
28-
{
29-
"type": "element",
30-
"prefix": "lib",
31-
"style": "kebab-case"
32-
}
33-
]
18+
"@angular-eslint/directive-selector": "off",
19+
"@angular-eslint/component-selector": "off"
3420
}
3521
},
3622
{

angular.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,31 @@
8181
"@angular-eslint/schematics"
8282
],
8383
"analytics": false
84+
},
85+
"schematics": {
86+
"@schematics/angular:component": {
87+
"type": "component"
88+
},
89+
"@schematics/angular:directive": {
90+
"type": "directive"
91+
},
92+
"@schematics/angular:service": {
93+
"type": "service"
94+
},
95+
"@schematics/angular:guard": {
96+
"typeSeparator": "."
97+
},
98+
"@schematics/angular:interceptor": {
99+
"typeSeparator": "."
100+
},
101+
"@schematics/angular:module": {
102+
"typeSeparator": "."
103+
},
104+
"@schematics/angular:pipe": {
105+
"typeSeparator": "."
106+
},
107+
"@schematics/angular:resolver": {
108+
"typeSeparator": "."
109+
}
84110
}
85-
}
111+
}

0 commit comments

Comments
 (0)