@eui/cli 21.0.0-next.37 → 21.0.0-next.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/skeletons/_angular/base/angular.json +5 -2
- package/lib/skeletons/_angular/base/eslint.config.js +43 -0
- package/lib/skeletons/_angular/base/package.json +2 -2
- package/lib/skeletons/_angular/base-mobile/package.json +1 -1
- package/lib/skeletons/_angular/options/ecl-ec/angular.json +5 -2
- package/lib/skeletons/_angular/options/ecl-eu/angular.json +5 -2
- package/lib/skeletons/_angular/options/pnpm/package.json +7 -7
- package/package.json +1 -1
- package/lib/skeletons/_angular/base/.eslintrc.json +0 -121
|
@@ -132,8 +132,11 @@
|
|
|
132
132
|
"lint": {
|
|
133
133
|
"builder": "@angular-eslint/builder:lint",
|
|
134
134
|
"options": {
|
|
135
|
-
"lintFilePatterns": [
|
|
136
|
-
|
|
135
|
+
"lintFilePatterns": [
|
|
136
|
+
"src/**/*.ts",
|
|
137
|
+
"src/**/*.html"
|
|
138
|
+
],
|
|
139
|
+
"eslintConfig": "eslint.config.js"
|
|
137
140
|
}
|
|
138
141
|
}
|
|
139
142
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
const eslint = require("@eslint/js");
|
|
3
|
+
const tseslint = require("typescript-eslint");
|
|
4
|
+
const angular = require("angular-eslint");
|
|
5
|
+
|
|
6
|
+
module.exports = tseslint.config(
|
|
7
|
+
{
|
|
8
|
+
files: ["**/*.ts"],
|
|
9
|
+
extends: [
|
|
10
|
+
eslint.configs.recommended,
|
|
11
|
+
...tseslint.configs.recommended,
|
|
12
|
+
...tseslint.configs.stylistic,
|
|
13
|
+
...angular.configs.tsRecommended,
|
|
14
|
+
],
|
|
15
|
+
processor: angular.processInlineTemplates,
|
|
16
|
+
rules: {
|
|
17
|
+
"@angular-eslint/directive-selector": [
|
|
18
|
+
"error",
|
|
19
|
+
{
|
|
20
|
+
type: "attribute",
|
|
21
|
+
prefix: "app",
|
|
22
|
+
style: "camelCase",
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
"@angular-eslint/component-selector": [
|
|
26
|
+
"error",
|
|
27
|
+
{
|
|
28
|
+
type: "element",
|
|
29
|
+
prefix: "app",
|
|
30
|
+
style: "kebab-case",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
files: ["**/*.html"],
|
|
37
|
+
extends: [
|
|
38
|
+
...angular.configs.templateRecommended,
|
|
39
|
+
...angular.configs.templateAccessibility,
|
|
40
|
+
],
|
|
41
|
+
rules: {},
|
|
42
|
+
},
|
|
43
|
+
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.39",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"private": true,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@eui/deps-base": "21.0.0-next.
|
|
22
|
+
"@eui/deps-base": "21.0.0-next.39"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"npm-run-all": "4.1.5",
|
|
@@ -140,8 +140,11 @@
|
|
|
140
140
|
"lint": {
|
|
141
141
|
"builder": "@angular-eslint/builder:lint",
|
|
142
142
|
"options": {
|
|
143
|
-
"lintFilePatterns": [
|
|
144
|
-
|
|
143
|
+
"lintFilePatterns": [
|
|
144
|
+
"src/**/*.ts",
|
|
145
|
+
"src/**/*.html"
|
|
146
|
+
],
|
|
147
|
+
"eslintConfig": "eslint.config.js"
|
|
145
148
|
}
|
|
146
149
|
},
|
|
147
150
|
"test": {
|
|
@@ -140,8 +140,11 @@
|
|
|
140
140
|
"lint": {
|
|
141
141
|
"builder": "@angular-eslint/builder:lint",
|
|
142
142
|
"options": {
|
|
143
|
-
"lintFilePatterns": [
|
|
144
|
-
|
|
143
|
+
"lintFilePatterns": [
|
|
144
|
+
"src/**/*.ts",
|
|
145
|
+
"src/**/*.html"
|
|
146
|
+
],
|
|
147
|
+
"eslintConfig": "eslint.config.js"
|
|
145
148
|
}
|
|
146
149
|
},
|
|
147
150
|
"test": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.39",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
"pikaday": "1.8.2",
|
|
47
47
|
"lodash-es": "4.17.21",
|
|
48
48
|
"localforage": "1.10.0",
|
|
49
|
-
"@eui/base": "21.0.0-next.
|
|
50
|
-
"@eui/core": "21.0.0-next.
|
|
51
|
-
"@eui/styles": "21.0.0-next.
|
|
52
|
-
"@eui/components": "21.0.0-next.
|
|
53
|
-
"@eui/ecl": "21.0.0-next.
|
|
49
|
+
"@eui/base": "21.0.0-next.39",
|
|
50
|
+
"@eui/core": "21.0.0-next.39",
|
|
51
|
+
"@eui/styles": "21.0.0-next.39",
|
|
52
|
+
"@eui/components": "21.0.0-next.39",
|
|
53
|
+
"@eui/ecl": "21.0.0-next.39"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@angular/build": "21.0.1",
|
|
57
57
|
"@angular/compiler-cli": "21.0.1",
|
|
58
58
|
"@angular/cli": "21.0.1",
|
|
59
|
-
"@eui/cli": "21.0.0-next.
|
|
59
|
+
"@eui/cli": "21.0.0-next.39",
|
|
60
60
|
"ng-packagr": "21.0.0",
|
|
61
61
|
"typescript": "5.9.2",
|
|
62
62
|
"npm-run-all": "4.1.5",
|
package/package.json
CHANGED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"ignorePatterns": [
|
|
4
|
-
"**/node_modules/**",
|
|
5
|
-
"**/dist/**",
|
|
6
|
-
"**/coverage/**",
|
|
7
|
-
"**/e2e/**",
|
|
8
|
-
"**/test/**",
|
|
9
|
-
"**/testing/**"
|
|
10
|
-
],
|
|
11
|
-
"overrides": [
|
|
12
|
-
{
|
|
13
|
-
"files": [
|
|
14
|
-
"*.ts"
|
|
15
|
-
],
|
|
16
|
-
"parserOptions": {
|
|
17
|
-
"project": [
|
|
18
|
-
"tsconfig.json",
|
|
19
|
-
"e2e/tsconfig.json"
|
|
20
|
-
],
|
|
21
|
-
"createDefaultProgram": true
|
|
22
|
-
},
|
|
23
|
-
"extends": [
|
|
24
|
-
"eslint:recommended",
|
|
25
|
-
"plugin:@typescript-eslint/recommended",
|
|
26
|
-
"plugin:@angular-eslint/recommended",
|
|
27
|
-
"plugin:@angular-eslint/template/process-inline-templates"
|
|
28
|
-
],
|
|
29
|
-
"rules": {
|
|
30
|
-
"@angular-eslint/component-selector": [
|
|
31
|
-
"error",
|
|
32
|
-
{
|
|
33
|
-
"type": "element",
|
|
34
|
-
"prefix": ["app"],
|
|
35
|
-
"style": "kebab-case"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"@angular-eslint/directive-selector": [
|
|
39
|
-
"error",
|
|
40
|
-
{
|
|
41
|
-
"type": "attribute",
|
|
42
|
-
"prefix": ["app"],
|
|
43
|
-
"style": "camelCase"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"@typescript-eslint/ban-ts-comment": "off",
|
|
47
|
-
"@typescript-eslint/no-empty-object-type": "error",
|
|
48
|
-
"@typescript-eslint/no-unsafe-function-type": "error",
|
|
49
|
-
"@typescript-eslint/consistent-type-definitions": "off",
|
|
50
|
-
"@typescript-eslint/dot-notation": "off",
|
|
51
|
-
"@typescript-eslint/explicit-member-accessibility": [
|
|
52
|
-
"off",
|
|
53
|
-
{
|
|
54
|
-
"accessibility": "explicit"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"@typescript-eslint/no-require-imports": "error",
|
|
58
|
-
"@typescript-eslint/no-unused-vars": "off",
|
|
59
|
-
"@typescript-eslint/no-var-requires": "error",
|
|
60
|
-
"@typescript-eslint/require-await": "error",
|
|
61
|
-
"brace-style": [
|
|
62
|
-
"error",
|
|
63
|
-
"1tbs"
|
|
64
|
-
],
|
|
65
|
-
"id-blacklist": "off",
|
|
66
|
-
"id-match": "off",
|
|
67
|
-
"no-duplicate-case": "error",
|
|
68
|
-
"no-duplicate-imports": "off",
|
|
69
|
-
"no-invalid-this": "error",
|
|
70
|
-
"no-multiple-empty-lines": [
|
|
71
|
-
"error",
|
|
72
|
-
{
|
|
73
|
-
"max": 1
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"no-new-func": "error",
|
|
77
|
-
"no-redeclare": "off",
|
|
78
|
-
"@typescript-eslint/no-redeclare": [
|
|
79
|
-
"error"
|
|
80
|
-
],
|
|
81
|
-
"no-template-curly-in-string": "error",
|
|
82
|
-
"no-underscore-dangle": "off",
|
|
83
|
-
"@typescript-eslint/naming-convention": [
|
|
84
|
-
"error",
|
|
85
|
-
{
|
|
86
|
-
"selector": "enum",
|
|
87
|
-
"format": [
|
|
88
|
-
"PascalCase",
|
|
89
|
-
"UPPER_CASE"
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"@typescript-eslint/member-ordering": [
|
|
94
|
-
"error",
|
|
95
|
-
{
|
|
96
|
-
"default": [
|
|
97
|
-
"public-static-field",
|
|
98
|
-
"public-instance-field",
|
|
99
|
-
"private-static-field",
|
|
100
|
-
"private-instance-field",
|
|
101
|
-
"public-constructor",
|
|
102
|
-
"private-constructor",
|
|
103
|
-
"public-instance-method",
|
|
104
|
-
"protected-instance-method",
|
|
105
|
-
"private-instance-method"
|
|
106
|
-
]
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"files": [
|
|
113
|
-
"*.html"
|
|
114
|
-
],
|
|
115
|
-
"extends": [
|
|
116
|
-
"plugin:@angular-eslint/template/recommended"
|
|
117
|
-
],
|
|
118
|
-
"rules": {}
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
}
|