Skip to content

Commit 52c4ca3

Browse files
committed
1.3.2 - partial compilationMode, bump ng to v15
1 parent fa5cdd9 commit 52c4ca3

16 files changed

+12361
-11853
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313
- name: Checkout Repo
1414
uses: actions/checkout@master
15-
- name: Setup Node.js 12.x
15+
- name: Setup Node.js 18.x
1616
uses: actions/setup-node@v1
1717
with:
18-
node-version: 12.x
18+
node-version: 18.x
1919
registry-url: 'https://registry.npmjs.org'
2020
- run: npm install
2121
name: NPM Install

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ speed-measure-plugin*.json
3232
.history/*
3333

3434
# misc
35+
/.angular/cache
3536
/.sass-cache
3637
/connect.lock
3738
/coverage

angular.json

+8-15
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,11 @@
117117
}
118118
},
119119
"lint": {
120-
"builder": "@angular-devkit/build-angular:tslint",
120+
"builder": "@angular-eslint/builder:lint",
121121
"options": {
122-
"tsConfig": [
123-
"tsconfig.app.json",
124-
"tsconfig.spec.json",
125-
"e2e/tsconfig.json"
126-
],
127-
"exclude": [
128-
"**/node_modules/**"
122+
"lintFilePatterns": [
123+
"projects/ngx-crumbs/src/**/*.ts",
124+
"projects/ngx-crumbs/src/**/*.html"
129125
]
130126
}
131127
},
@@ -170,14 +166,11 @@
170166
}
171167
},
172168
"lint": {
173-
"builder": "@angular-devkit/build-angular:tslint",
169+
"builder": "@angular-eslint/builder:lint",
174170
"options": {
175-
"tsConfig": [
176-
"projects/ng-magnizoom/tsconfig.lib.json",
177-
"projects/ng-magnizoom/tsconfig.spec.json"
178-
],
179-
"exclude": [
180-
"**/node_modules/**"
171+
"lintFilePatterns": [
172+
"projects/ngx-crumbs/src/**/*.ts",
173+
"projects/ngx-crumbs/src/**/*.html"
181174
]
182175
}
183176
}

browserslist

-12
This file was deleted.

eslintrc.json

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"root": true,
3+
"overrides": [
4+
{
5+
"files": [
6+
"*.ts"
7+
],
8+
"parserOptions": {
9+
"project": [
10+
"tsconfig.json"
11+
],
12+
"createDefaultProgram": true
13+
},
14+
"extends": [
15+
"plugin:@angular-eslint/recommended",
16+
"plugin:@angular-eslint/template/process-inline-templates"
17+
],
18+
"rules": {
19+
"@angular-eslint/directive-selector": [
20+
"error",
21+
{
22+
"type": "attribute",
23+
"prefix": "app",
24+
"style": "camelCase"
25+
}
26+
],
27+
"@angular-eslint/component-selector": [
28+
"error",
29+
{
30+
"type": "element",
31+
"prefix": "app",
32+
"style": "kebab-case"
33+
}
34+
],
35+
"@angular-eslint/no-empty-lifecycle-method": "off",
36+
"@angular-eslint/no-input-rename": "off",
37+
"@angular-eslint/no-output-rename": "off",
38+
"@angular-eslint/no-output-on-prefix": "off"
39+
}
40+
},
41+
{
42+
"files": [
43+
"*.html"
44+
],
45+
"extends": [
46+
"plugin:@angular-eslint/template/recommended"
47+
],
48+
"rules": {
49+
"@angular-eslint/template/eqeqeq": "off"
50+
}
51+
}
52+
]
53+
}

0 commit comments

Comments
 (0)