@igniteui/angular-templates 19.0.14313 → 19.0.14314-beta.0
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/igx-ts/projects/_base/files/__dot__eslintrc.mjs +126 -0
- package/igx-ts/projects/_base/files/package.json +1 -1
- package/igx-ts/projects/side-nav-auth/files/package.json +1 -1
- package/igx-ts-legacy/projects/_base/files/__dot__eslintrc.mjs +53 -0
- package/igx-ts-legacy/projects/_base/files/package.json +1 -1
- package/igx-ts-legacy/projects/side-nav-auth/files/package.json +1 -1
- package/package.json +2 -2
- package/igx-ts/projects/_base/files/__dot__eslintrc.json +0 -50
- package/igx-ts-legacy/projects/_base/files/__dot__eslintrc.json +0 -51
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import eslintPluginImport from "eslint-plugin-import";
|
|
2
|
+
import eslintPluginUnicorn from "eslint-plugin-unicorn";
|
|
3
|
+
import eslintPluginPreferArrow from "eslint-plugin-prefer-arrow";
|
|
4
|
+
import typescriptParser from "@typescript-eslint/parser";
|
|
5
|
+
|
|
6
|
+
export default [
|
|
7
|
+
{
|
|
8
|
+
files: ["**/*.ts", "**/*.tsx"],
|
|
9
|
+
languageOptions: {
|
|
10
|
+
parser: typescriptParser,
|
|
11
|
+
parserOptions: {
|
|
12
|
+
project: "**/tsconfig.json",
|
|
13
|
+
sourceType: "module",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
plugins: {
|
|
17
|
+
import: eslintPluginImport,
|
|
18
|
+
unicorn: eslintPluginUnicorn,
|
|
19
|
+
"prefer-arrow": eslintPluginPreferArrow,
|
|
20
|
+
},
|
|
21
|
+
rules: {
|
|
22
|
+
complexity: "off",
|
|
23
|
+
"import/no-extraneous-dependencies": "warn",
|
|
24
|
+
"import/no-internal-modules": "warn",
|
|
25
|
+
"import/order": [
|
|
26
|
+
"off",
|
|
27
|
+
{
|
|
28
|
+
alphabetize: {
|
|
29
|
+
caseInsensitive: true,
|
|
30
|
+
order: "asc",
|
|
31
|
+
},
|
|
32
|
+
"newlines-between": "ignore",
|
|
33
|
+
groups: [
|
|
34
|
+
["builtin", "external", "internal", "unknown", "object", "type"],
|
|
35
|
+
"parent",
|
|
36
|
+
["sibling", "index"],
|
|
37
|
+
],
|
|
38
|
+
distinctGroup: false,
|
|
39
|
+
pathGroupsExcludedImportTypes: [],
|
|
40
|
+
pathGroups: [
|
|
41
|
+
{
|
|
42
|
+
pattern: "./",
|
|
43
|
+
patternOptions: { nocomment: true, dot: true },
|
|
44
|
+
group: "sibling",
|
|
45
|
+
position: "before",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
pattern: ".",
|
|
49
|
+
patternOptions: { nocomment: true, dot: true },
|
|
50
|
+
group: "sibling",
|
|
51
|
+
position: "before",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
pattern: "..",
|
|
55
|
+
patternOptions: { nocomment: true, dot: true },
|
|
56
|
+
group: "parent",
|
|
57
|
+
position: "before",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
pattern: "../",
|
|
61
|
+
patternOptions: { nocomment: true, dot: true },
|
|
62
|
+
group: "parent",
|
|
63
|
+
position: "before",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
"no-constant-condition": "warn",
|
|
69
|
+
"no-case-declarations": "off",
|
|
70
|
+
"no-extra-boolean-cast": "warn",
|
|
71
|
+
"no-unused-vars": "off",
|
|
72
|
+
"no-unexpected-multiline": "off",
|
|
73
|
+
"no-useless-escape": "off",
|
|
74
|
+
"new-parens": "error",
|
|
75
|
+
"no-bitwise": "off",
|
|
76
|
+
"no-caller": "error",
|
|
77
|
+
"no-cond-assign": "error",
|
|
78
|
+
"no-console": "off",
|
|
79
|
+
"no-debugger": "error",
|
|
80
|
+
"no-duplicate-case": "error",
|
|
81
|
+
"no-duplicate-imports": "error",
|
|
82
|
+
"no-empty": "off",
|
|
83
|
+
"no-empty-function": "off",
|
|
84
|
+
"no-eval": "error",
|
|
85
|
+
"no-extra-bind": "error",
|
|
86
|
+
"no-fallthrough": "off",
|
|
87
|
+
"no-invalid-this": "off",
|
|
88
|
+
"no-new-func": "error",
|
|
89
|
+
"no-new-wrappers": "error",
|
|
90
|
+
"no-redeclare": "error",
|
|
91
|
+
"no-return-await": "error",
|
|
92
|
+
"no-sequences": "error",
|
|
93
|
+
"no-shadow": "off",
|
|
94
|
+
"no-sparse-arrays": "error",
|
|
95
|
+
"no-template-curly-in-string": "error",
|
|
96
|
+
"no-throw-literal": "error",
|
|
97
|
+
"no-trailing-spaces": "error",
|
|
98
|
+
"no-undef-init": "error",
|
|
99
|
+
"no-underscore-dangle": "off",
|
|
100
|
+
"no-unsafe-finally": "error",
|
|
101
|
+
"no-unused-expressions": "off",
|
|
102
|
+
"no-unused-labels": "error",
|
|
103
|
+
"no-use-before-define": "off",
|
|
104
|
+
"no-var": "error",
|
|
105
|
+
"object-shorthand": "warn",
|
|
106
|
+
"one-var": ["error", "never"],
|
|
107
|
+
"prefer-arrow/prefer-arrow-functions": "off",
|
|
108
|
+
"prefer-const": "warn",
|
|
109
|
+
"prefer-object-spread": "off",
|
|
110
|
+
radix: "error",
|
|
111
|
+
"space-in-parens": ["error", "never"],
|
|
112
|
+
"unicorn/prefer-ternary": "off",
|
|
113
|
+
"use-isnan": "error",
|
|
114
|
+
"valid-typeof": "off",
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
ignores: [
|
|
119
|
+
"node_modules/**/*",
|
|
120
|
+
"coverage/**/*",
|
|
121
|
+
"output/**/*",
|
|
122
|
+
"packages/cli/templates/**/*",
|
|
123
|
+
"**/files/**/*",
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
];
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@types/jasmine": "~5.1.1",
|
|
45
45
|
"@typescript-eslint/eslint-plugin": "~8.21.0",
|
|
46
46
|
"@typescript-eslint/parser": "~8.21.0",
|
|
47
|
-
"eslint": "~
|
|
47
|
+
"eslint": "~9.20.0",
|
|
48
48
|
"igniteui-cli": "~<%=cliVersion%>",
|
|
49
49
|
"jasmine-core": "~5.1.0",
|
|
50
50
|
"karma": "~6.4.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@types/jasminewd2": "~2.0.3",
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "8.21.0",
|
|
45
45
|
"@typescript-eslint/parser": "8.21.0",
|
|
46
|
-
"eslint": "~
|
|
46
|
+
"eslint": "~9.20.0",
|
|
47
47
|
"igniteui-cli": "~<%=cliVersion%>",
|
|
48
48
|
"jasmine-core": "~5.1.0",
|
|
49
49
|
"karma": "~6.4.0",
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import angularEslint from "@angular-eslint/eslint-plugin";
|
|
2
|
+
import angularEslintTemplate from "@angular-eslint/eslint-plugin-template";
|
|
3
|
+
import typescriptParser from "@typescript-eslint/parser";
|
|
4
|
+
|
|
5
|
+
export default [
|
|
6
|
+
{
|
|
7
|
+
files: ["**/*.ts"],
|
|
8
|
+
languageOptions: {
|
|
9
|
+
parser: typescriptParser,
|
|
10
|
+
parserOptions: {
|
|
11
|
+
project: "tsconfig.json",
|
|
12
|
+
createDefaultProgram: true,
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
plugins: {
|
|
16
|
+
"@angular-eslint": angularEslint,
|
|
17
|
+
},
|
|
18
|
+
extends: [
|
|
19
|
+
"plugin:@angular-eslint/recommended",
|
|
20
|
+
"plugin:@angular-eslint/template/process-inline-templates",
|
|
21
|
+
],
|
|
22
|
+
rules: {
|
|
23
|
+
"@angular-eslint/directive-selector": [
|
|
24
|
+
"error",
|
|
25
|
+
{
|
|
26
|
+
type: "attribute",
|
|
27
|
+
prefix: "app",
|
|
28
|
+
style: "camelCase",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
"@angular-eslint/component-selector": [
|
|
32
|
+
"error",
|
|
33
|
+
{
|
|
34
|
+
type: "element",
|
|
35
|
+
prefix: "app",
|
|
36
|
+
style: "kebab-case",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
"@angular-eslint/prefer-standalone": "off",
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
files: ["**/*.html"],
|
|
44
|
+
plugins: {
|
|
45
|
+
"@angular-eslint/template": angularEslintTemplate,
|
|
46
|
+
},
|
|
47
|
+
extends: ["plugin:@angular-eslint/template/recommended"],
|
|
48
|
+
rules: {},
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
ignores: ["projects/**/*"],
|
|
52
|
+
},
|
|
53
|
+
];
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@types/jasminewd2": "~2.0.3",
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "8.21.0",
|
|
45
45
|
"@typescript-eslint/parser": "8.21.0",
|
|
46
|
-
"eslint": "~
|
|
46
|
+
"eslint": "~9.20.0",
|
|
47
47
|
"igniteui-cli": "~<%=cliVersion%>",
|
|
48
48
|
"jasmine-core": "~5.1.0",
|
|
49
49
|
"karma": "~6.4.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igniteui/angular-templates",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.14314-beta.0",
|
|
4
4
|
"description": "Templates for Ignite UI for Angular projects and components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"author": "Infragistics",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@igniteui/cli-core": "~14.3.
|
|
15
|
+
"@igniteui/cli-core": "~14.3.14-beta.0",
|
|
16
16
|
"typescript": "~5.5.4"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"ignorePatterns": [
|
|
4
|
-
"projects/**/*"
|
|
5
|
-
],
|
|
6
|
-
"overrides": [
|
|
7
|
-
{
|
|
8
|
-
"files": [
|
|
9
|
-
"*.ts"
|
|
10
|
-
],
|
|
11
|
-
"parserOptions": {
|
|
12
|
-
"project": [
|
|
13
|
-
"tsconfig.json"
|
|
14
|
-
],
|
|
15
|
-
"createDefaultProgram": true
|
|
16
|
-
},
|
|
17
|
-
"extends": [
|
|
18
|
-
"plugin:@angular-eslint/recommended",
|
|
19
|
-
"plugin:@angular-eslint/template/process-inline-templates"
|
|
20
|
-
],
|
|
21
|
-
"rules": {
|
|
22
|
-
"@angular-eslint/directive-selector": [
|
|
23
|
-
"error",
|
|
24
|
-
{
|
|
25
|
-
"type": "attribute",
|
|
26
|
-
"prefix": "app",
|
|
27
|
-
"style": "camelCase"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"@angular-eslint/component-selector": [
|
|
31
|
-
"error",
|
|
32
|
-
{
|
|
33
|
-
"type": "element",
|
|
34
|
-
"prefix": "app",
|
|
35
|
-
"style": "kebab-case"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"files": [
|
|
42
|
-
"*.html"
|
|
43
|
-
],
|
|
44
|
-
"extends": [
|
|
45
|
-
"plugin:@angular-eslint/template/recommended"
|
|
46
|
-
],
|
|
47
|
-
"rules": {}
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": true,
|
|
3
|
-
"ignorePatterns": [
|
|
4
|
-
"projects/**/*"
|
|
5
|
-
],
|
|
6
|
-
"overrides": [
|
|
7
|
-
{
|
|
8
|
-
"files": [
|
|
9
|
-
"*.ts"
|
|
10
|
-
],
|
|
11
|
-
"parserOptions": {
|
|
12
|
-
"project": [
|
|
13
|
-
"tsconfig.json"
|
|
14
|
-
],
|
|
15
|
-
"createDefaultProgram": true
|
|
16
|
-
},
|
|
17
|
-
"extends": [
|
|
18
|
-
"plugin:@angular-eslint/recommended",
|
|
19
|
-
"plugin:@angular-eslint/template/process-inline-templates"
|
|
20
|
-
],
|
|
21
|
-
"rules": {
|
|
22
|
-
"@angular-eslint/directive-selector": [
|
|
23
|
-
"error",
|
|
24
|
-
{
|
|
25
|
-
"type": "attribute",
|
|
26
|
-
"prefix": "app",
|
|
27
|
-
"style": "camelCase"
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
"@angular-eslint/component-selector": [
|
|
31
|
-
"error",
|
|
32
|
-
{
|
|
33
|
-
"type": "element",
|
|
34
|
-
"prefix": "app",
|
|
35
|
-
"style": "kebab-case"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"@angular-eslint/prefer-standalone": "off"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"files": [
|
|
43
|
-
"*.html"
|
|
44
|
-
],
|
|
45
|
-
"extends": [
|
|
46
|
-
"plugin:@angular-eslint/template/recommended"
|
|
47
|
-
],
|
|
48
|
-
"rules": {}
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
}
|