@schoero/configs 1.0.24 → 1.0.25

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/eslint/jsx.js CHANGED
@@ -63,9 +63,10 @@ export const jsx = [
63
63
  "eslint-plugin-stylistic-plus": eslintPluginStylisticPlus
64
64
  },
65
65
  languageOptions: {
66
- parser: eslintPluginTypeScript.parser,
67
66
  parserOptions: {
68
- project: "./tsconfig.json"
67
+ ecmaFeatures: {
68
+ jsx: true
69
+ }
69
70
  }
70
71
  },
71
72
  rules: {
@@ -22,31 +22,12 @@ export const typescript = [
22
22
  parserOptions: {
23
23
  EXPERIMENTAL_useProjectService: true,
24
24
  projectService: true,
25
- project: false
25
+ project: false,
26
26
  }
27
27
  },
28
28
  files: ["**/*.{ts,tsx,cts}"]
29
29
  },
30
30
 
31
- {
32
- plugins: {
33
- "eslint-plugin-typescript": eslintPluginTypeScript.plugin
34
- },
35
- files: ["**/*.{ts,cts}"],
36
- rules: {
37
-
38
- // naming conventions
39
- "eslint-plugin-typescript/naming-convention": [
40
- "warn",
41
- {
42
- format: ["camelCase", "UPPER_CASE"],
43
- leadingUnderscore: "allow",
44
- selector: "variable"
45
- }
46
- ]
47
- }
48
- },
49
-
50
31
  {
51
32
  files: ["**/*.{ts,tsx,cts}"],
52
33
  plugins: {
@@ -120,7 +101,6 @@ export const typescript = [
120
101
  "eslint-plugin-typescript/non-nullable-type-assertion-style": "warn",
121
102
  "eslint-plugin-typescript/no-non-null-asserted-nullish-coalescing": "warn",
122
103
  "eslint-plugin-typescript/no-non-null-asserted-optional-chain": "warn",
123
- "eslint-plugin-typescript/no-unnecessary-condition": "warn",
124
104
  "eslint-plugin-typescript/no-unnecessary-qualifier": "warn",
125
105
  "eslint-plugin-typescript/no-unnecessary-type-assertion": "warn",
126
106
  "eslint-plugin-typescript/no-unnecessary-type-constraint": "warn",
@@ -173,6 +153,11 @@ export const typescript = [
173
153
  // naming conventions
174
154
  "eslint-plugin-typescript/naming-convention": [
175
155
  "warn",
156
+ {
157
+ format: ["camelCase", "UPPER_CASE"],
158
+ leadingUnderscore: "allow",
159
+ selector: "variable"
160
+ },
176
161
  {
177
162
  filter: {
178
163
  match: false,
@@ -260,13 +245,18 @@ export const typescript = [
260
245
 
261
246
  // standalone typescript
262
247
  {
263
- languageOptions: {
264
- parser: eslintPluginTypeScript.parser,
265
- parserOptions: { project: false, program: null }
266
- },
267
248
  plugins: {
268
249
  "eslint-plugin-typescript": eslintPluginTypeScript.plugin
269
250
  },
251
+ languageOptions: {
252
+ parser: eslintPluginTypeScript.parser,
253
+ parserOptions: {
254
+ EXPERIMENTAL_useProjectService: false,
255
+ projectService: false,
256
+ project: false,
257
+ program: null
258
+ }
259
+ },
270
260
  files: [
271
261
  "**/*.config.{ts,mts,cts}",
272
262
  "**/*.{md,mdx}/*.{ts,tsx,mjs,cjs,js,jsx,cts,mts,ctsx,mtsx}"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.24",
2
+ "version": "1.0.25",
3
3
  "type": "module",
4
4
  "name": "@schoero/configs",
5
5
  "description": "",