@enormora/eslint-config-typescript 0.0.71 → 0.0.73

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/package.json CHANGED
@@ -7,14 +7,14 @@
7
7
  }
8
8
  ],
9
9
  "dependencies": {
10
- "@typescript-eslint/eslint-plugin": "8.67.0",
11
- "@typescript-eslint/parser": "8.67.0",
12
- "@typescript-eslint/type-utils": "8.67.0",
13
- "@typescript-eslint/utils": "8.67.0",
10
+ "@typescript-eslint/eslint-plugin": "8.69.0",
11
+ "@typescript-eslint/parser": "8.69.0",
12
+ "@typescript-eslint/type-utils": "8.69.0",
13
+ "@typescript-eslint/utils": "8.69.0",
14
14
  "eslint-import-resolver-typescript": "4.4.5",
15
15
  "eslint-plugin-functional": "10.0.0",
16
16
  "eslint-plugin-import-x": "4.17.1",
17
- "eslint-plugin-perfectionist": "5.10.1"
17
+ "eslint-plugin-perfectionist": "5.11.0"
18
18
  },
19
19
  "description": "Enormora’s ESLint typescript configuration",
20
20
  "engines": {
@@ -28,7 +28,7 @@
28
28
  "license": "MIT",
29
29
  "name": "@enormora/eslint-config-typescript",
30
30
  "peerDependencies": {
31
- "@enormora/eslint-config-base": "0.0.63",
31
+ "@enormora/eslint-config-base": "0.0.65",
32
32
  "typescript": ">=4.8.4 <6.1.0"
33
33
  },
34
34
  "repository": {
@@ -44,5 +44,5 @@
44
44
  "./presets/typescript/typescript.js"
45
45
  ],
46
46
  "type": "module",
47
- "version": "0.0.71"
47
+ "version": "0.0.73"
48
48
  }
@@ -1,5 +1,13 @@
1
- import "./no-impure-satisfies.js";
2
- import "./no-this-expressions.js";
3
- import "./prefer-named-callable-types.js";
4
- import "./prefer-readonly-types.js";
1
+ import { noImpureSatisfiesRule } from "./no-impure-satisfies.js";
2
+ import { noThisExpressionsRule } from "./no-this-expressions.js";
3
+ import { preferNamedCallableTypesRule } from "./prefer-named-callable-types.js";
4
+ import { preferReadonlyTypesRule } from "./prefer-readonly-types.js";
5
+ export const enormoraTypescriptPlugin = {
6
+ rules: {
7
+ 'no-impure-satisfies': noImpureSatisfiesRule,
8
+ 'no-this-expressions': noThisExpressionsRule,
9
+ 'prefer-named-callable-types': preferNamedCallableTypesRule,
10
+ 'prefer-readonly-types': preferReadonlyTypesRule
11
+ }
12
+ };
5
13
  //# sourceMappingURL=enormora-typescript-plugin.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enormora-typescript-plugin.js","sourceRoot":"","sources":["../../../../../configs/plugins/enormora-typescript/enormora-typescript-plugin.ts"],"names":[],"mappings":"AACA,OAAsC,0BAA0B,CAAC;AACjE,OAAsC,0BAA0B,CAAC;AACjE,OAA6C,kCAAkC,CAAC;AAChF,OAAwC,4BAA4B,CAAC"}
1
+ {"version":3,"file":"enormora-typescript-plugin.js","sourceRoot":"","sources":["../../../../../configs/plugins/enormora-typescript/enormora-typescript-plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAMrE,MAAM,CAAC,MAAM,wBAAwB,GAA6B;IAC9D,KAAK,EAAE;QACH,qBAAqB,EAAE,qBAAmD;QAC1E,qBAAqB,EAAE,qBAAmD;QAC1E,6BAA6B,EAAE,4BAA0D;QACzF,uBAAuB,EAAE,uBAAqD;KACjF;CACJ,CAAC"}
@@ -1,7 +1,19 @@
1
- import '@typescript-eslint/parser';
1
+ import typescriptParser from '@typescript-eslint/parser';
2
2
  import { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript';
3
3
  import { createNodeResolver } from 'eslint-plugin-import-x';
4
4
  import { javascriptExtensions, typescriptExtensions } from "@enormora/eslint-config-base/constants.js";
5
+ export const typescriptLanguageOptions = {
6
+ parser: typescriptParser,
7
+ parserOptions: {
8
+ warnOnUnsupportedTypeScriptVersion: false,
9
+ sourceType: 'module',
10
+ ecmaFeatures: {
11
+ jsx: false,
12
+ globalReturn: false
13
+ },
14
+ projectService: true
15
+ }
16
+ };
5
17
  export const typescriptSettings = {
6
18
  'import/parsers': {
7
19
  '@typescript-eslint/parser': typescriptExtensions
@@ -1 +1 @@
1
- {"version":3,"file":"typescript-environment.js","sourceRoot":"","sources":["../../../../../configs/presets/typescript/typescript-environment.ts"],"names":[],"mappings":"AAAA,OAA6B,2BAA2B,CAAC;AACzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,2CAAoB,CAAC;AAEhF,MAAM,CAAC,MAAM,kBAakB,GAAG;IAC9B,gBAAgB,EAAE;QACd,2BAA2B,EAAE,oBAAoB;KACpD;IACD,wBAAwB,EAAE;QACtB,kBAAkB,CAAC;YACf,UAAU,EAAE,CAAE,GAAG,oBAAoB,EAAE,GAAG,oBAAoB,CAAE;SACnE,CAAC;QACF,8BAA8B,EAAE;KACnC;IACD,mEAAmE;IACnE,mEAAmE;IACnE,oEAAoE;IACpE,oEAAoE;IACpE,+DAA+D;IAC/D,6DAA6D;IAC7D,6CAA6C;IAC7C,YAAY,EAAE;QACV,SAAS,EAAE;YACP,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;YAC9D,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;YAChE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;YAC7D,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,iBAAiB,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;YACzE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;YACjE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;YACjE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;YACjE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE;SAClE;KACJ;CACJ,CAAC"}
1
+ {"version":3,"file":"typescript-environment.js","sourceRoot":"","sources":["../../../../../configs/presets/typescript/typescript-environment.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,2CAAoB,CAAC;AAEhF,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACrC,MAAM,EAAE,gBAAgB;IACxB,aAAa,EAAE;QACX,kCAAkC,EAAE,KAAK;QACzC,UAAU,EAAE,QAAQ;QACpB,YAAY,EAAE;YACV,GAAG,EAAE,KAAK;YACV,YAAY,EAAE,KAAK;SACtB;QACD,cAAc,EAAE,IAAI;KACvB;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAC9B,gBAAgB,EAAE;QACd,2BAA2B,EAAE,oBAAoB;KACpD;IACD,wBAAwB,E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10
  "type": "application",
11
11
  "name": "packtory",
12
- "version": "0.0.99"
12
+ "version": "0.0.108"
13
13
  }
14
14
  ]
15
15
  },
16
16
  "component": {
17
17
  "type": "library",
18
18
  "name": "@enormora/eslint-config-typescript",
19
- "version": "0.0.71",
20
- "bom-ref": "pkg:npm/@enormora/eslint-config-typescript@0.0.71",
21
- "purl": "pkg:npm/@enormora/eslint-config-typescript@0.0.71"
19
+ "version": "0.0.73",
20
+ "bom-ref": "pkg:npm/@enormora/eslint-config-typescript@0.0.73",
21
+ "purl": "pkg:npm/@enormora/eslint-config-typescript@0.0.73"
22
22
  }
23
23
  },
24
24
  "components": [
25
25
  {
26
26
  "type": "library",
27
27
  "name": "@enormora/eslint-config-base",
28
- "version": "0.0.63",
29
- "bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.63",
28
+ "version": "0.0.65",
29
+ "bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.65",
30
30
  "scope": "optional",
31
31
  "licenses": [
32
32
  {
33
33
  "expression": "MIT"
34
34
  }
35
35
  ],
36
- "purl": "pkg:npm/@enormora/eslint-config-base@0.0.63"
36
+ "purl": "pkg:npm/@enormora/eslint-config-base@0.0.65"
37
37
  },
38
38
  {
39
39
  "type": "library",
40
40
  "name": "@typescript-eslint/eslint-plugin",
41
- "version": "8.67.0",
42
- "bom-ref": "pkg:npm/@typescript-eslint/eslint-plugin@8.67.0",
41
+ "version": "8.69.0",
42
+ "bom-ref": "pkg:npm/@typescript-eslint/eslint-plugin@8.69.0",
43
43
  "scope": "required",
44
44
  "licenses": [
45
45
  {
46
46
  "expression": "MIT"
47
47
  }
48
48
  ],
49
- "purl": "pkg:npm/@typescript-eslint/eslint-plugin@8.67.0"
49
+ "purl": "pkg:npm/@typescript-eslint/eslint-plugin@8.69.0"
50
50
  },
51
51
  {
52
52
  "type": "library",
53
53
  "name": "@typescript-eslint/parser",
54
- "version": "8.67.0",
55
- "bom-ref": "pkg:npm/@typescript-eslint/parser@8.67.0",
54
+ "version": "8.69.0",
55
+ "bom-ref": "pkg:npm/@typescript-eslint/parser@8.69.0",
56
56
  "scope": "required",
57
57
  "licenses": [
58
58
  {
59
59
  "expression": "MIT"
60
60
  }
61
61
  ],
62
- "purl": "pkg:npm/@typescript-eslint/parser@8.67.0"
62
+ "purl": "pkg:npm/@typescript-eslint/parser@8.69.0"
63
63
  },
64
64
  {
65
65
  "type": "library",
66
66
  "name": "@typescript-eslint/type-utils",
67
- "version": "8.67.0",
68
- "bom-ref": "pkg:npm/@typescript-eslint/type-utils@8.67.0",
67
+ "version": "8.69.0",
68
+ "bom-ref": "pkg:npm/@typescript-eslint/type-utils@8.69.0",
69
69
  "scope": "required",
70
70
  "licenses": [
71
71
  {
72
72
  "expression": "MIT"
73
73
  }
74
74
  ],
75
- "purl": "pkg:npm/@typescript-eslint/type-utils@8.67.0"
75
+ "purl": "pkg:npm/@typescript-eslint/type-utils@8.69.0"
76
76
  },
77
77
  {
78
78
  "type": "library",
79
79
  "name": "@typescript-eslint/utils",
80
- "version": "8.67.0",
81
- "bom-ref": "pkg:npm/@typescript-eslint/utils@8.67.0",
80
+ "version": "8.69.0",
81
+ "bom-ref": "pkg:npm/@typescript-eslint/utils@8.69.0",
82
82
  "scope": "required",
83
83
  "licenses": [
84
84
  {
85
85
  "expression": "MIT"
86
86
  }
87
87
  ],
88
- "purl": "pkg:npm/@typescript-eslint/utils@8.67.0"
88
+ "purl": "pkg:npm/@typescript-eslint/utils@8.69.0"
89
89
  },
90
90
  {
91
91
  "type": "library",
@@ -129,15 +129,15 @@
129
129
  {
130
130
  "type": "library",
131
131
  "name": "eslint-plugin-perfectionist",
132
- "version": "5.10.1",
133
- "bom-ref": "pkg:npm/eslint-plugin-perfectionist@5.10.1",
132
+ "version": "5.11.0",
133
+ "bom-ref": "pkg:npm/eslint-plugin-perfectionist@5.11.0",
134
134
  "scope": "required",
135
135
  "licenses": [
136
136
  {
137
137
  "expression": "MIT"
138
138
  }
139
139
  ],
140
- "purl": "pkg:npm/eslint-plugin-perfectionist@5.10.1"
140
+ "purl": "pkg:npm/eslint-plugin-perfectionist@5.11.0"
141
141
  },
142
142
  {
143
143
  "type": "library",
@@ -155,34 +155,34 @@
155
155
  ],
156
156
  "dependencies": [
157
157
  {
158
- "ref": "pkg:npm/@enormora/eslint-config-base@0.0.63"
158
+ "ref": "pkg:npm/@enormora/eslint-config-base@0.0.65"
159
159
  },
160
160
  {
161
- "ref": "pkg:npm/@enormora/eslint-config-typescript@0.0.71",
161
+ "ref": "pkg:npm/@enormora/eslint-config-typescript@0.0.73",
162
162
  "dependsOn": [
163
- "pkg:npm/@enormora/eslint-config-base@0.0.63",
164
- "pkg:npm/@typescript-eslint/eslint-plugin@8.67.0",
165
- "pkg:npm/@typescript-eslint/parser@8.67.0",
166
- "pkg:npm/@typescript-eslint/type-utils@8.67.0",
167
- "pkg:npm/@typescript-eslint/utils@8.67.0",
163
+ "pkg:npm/@enormora/eslint-config-base@0.0.65",
164
+ "pkg:npm/@typescript-eslint/eslint-plugin@8.69.0",
165
+ "pkg:npm/@typescript-eslint/parser@8.69.0",
166
+ "pkg:npm/@typescript-eslint/type-utils@8.69.0",
167
+ "pkg:npm/@typescript-eslint/utils@8.69.0",
168
168
  "pkg:npm/eslint-import-resolver-typescript@4.4.5",
169
169
  "pkg:npm/eslint-plugin-functional@10.0.0",
170
170
  "pkg:npm/eslint-plugin-import-x@4.17.1",
171
- "pkg:npm/eslint-plugin-perfectionist@5.10.1",
171
+ "pkg:npm/eslint-plugin-perfectionist@5.11.0",
172
172
  "pkg:npm/typescript@%3E%3D4.8.4%20%3C6.1.0"
173
173
  ]
174
174
  },
175
175
  {
176
- "ref": "pkg:npm/@typescript-eslint/eslint-plugin@8.67.0"
176
+ "ref": "pkg:npm/@typescript-eslint/eslint-plugin@8.69.0"
177
177
  },
178
178
  {
179
- "ref": "pkg:npm/@typescript-eslint/parser@8.67.0"
179
+ "ref": "pkg:npm/@typescript-eslint/parser@8.69.0"
180
180
  },
181
181
  {
182
- "ref": "pkg:npm/@typescript-eslint/type-utils@8.67.0"
182
+ "ref": "pkg:npm/@typescript-eslint/type-utils@8.69.0"
183
183
  },
184
184
  {
185
- "ref": "pkg:npm/@typescript-eslint/utils@8.67.0"
185
+ "ref": "pkg:npm/@typescript-eslint/utils@8.69.0"
186
186
  },
187
187
  {
188
188
  "ref": "pkg:npm/eslint-import-resolver-typescript@4.4.5"
@@ -194,7 +194,7 @@
194
194
  "ref": "pkg:npm/eslint-plugin-import-x@4.17.1"
195
195
  },
196
196
  {
197
- "ref": "pkg:npm/eslint-plugin-perfectionist@5.10.1"
197
+ "ref": "pkg:npm/eslint-plugin-perfectionist@5.11.0"
198
198
  },
199
199
  {
200
200
  "ref": "pkg:npm/typescript@%3E%3D4.8.4%20%3C6.1.0"