@jpp-toolkit/eslint-config 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/dist/index.mjs +1 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,6 @@ import stylistic from "@stylistic/eslint-plugin";
|
|
|
14
14
|
import tseslint from "typescript-eslint";
|
|
15
15
|
import unicorn from "eslint-plugin-unicorn";
|
|
16
16
|
import vitest from "@vitest/eslint-plugin";
|
|
17
|
-
|
|
18
17
|
//#region src/configs/eslint-config.ts
|
|
19
18
|
/**
|
|
20
19
|
* ESLint configuration.
|
|
@@ -126,7 +125,6 @@ const eslintConfig = defineConfig({
|
|
|
126
125
|
"symbol-description": "error"
|
|
127
126
|
}
|
|
128
127
|
});
|
|
129
|
-
|
|
130
128
|
//#endregion
|
|
131
129
|
//#region src/configs/ignore-config.ts
|
|
132
130
|
/**
|
|
@@ -139,7 +137,6 @@ const ignoreConfig = (rootDir) => {
|
|
|
139
137
|
extends: [includeIgnoreFile(findGitIgnore(rootDir))]
|
|
140
138
|
});
|
|
141
139
|
};
|
|
142
|
-
|
|
143
140
|
//#endregion
|
|
144
141
|
//#region src/configs/import-x-config.ts
|
|
145
142
|
/**
|
|
@@ -175,7 +172,6 @@ const importXConfig = defineConfig([{
|
|
|
175
172
|
extends: [importX.flatConfigs.typescript],
|
|
176
173
|
settings: { "import-x/resolver-next": [createTypeScriptImportResolver(), createNodeResolver()] }
|
|
177
174
|
}]);
|
|
178
|
-
|
|
179
175
|
//#endregion
|
|
180
176
|
//#region src/configs/jsx-a11y-config.ts
|
|
181
177
|
/**
|
|
@@ -187,7 +183,6 @@ const jsxA11yConfig = defineConfig({
|
|
|
187
183
|
extends: [jsxA11y.flatConfigs.recommended],
|
|
188
184
|
rules: {}
|
|
189
185
|
});
|
|
190
|
-
|
|
191
186
|
//#endregion
|
|
192
187
|
//#region src/configs/perfectionist-config.ts
|
|
193
188
|
/**
|
|
@@ -241,7 +236,6 @@ const perfectionistConfig = defineConfig({
|
|
|
241
236
|
}]
|
|
242
237
|
}
|
|
243
238
|
});
|
|
244
|
-
|
|
245
239
|
//#endregion
|
|
246
240
|
//#region src/configs/prettier-config.ts
|
|
247
241
|
/**
|
|
@@ -252,7 +246,6 @@ const prettierConfig = defineConfig({
|
|
|
252
246
|
name: "prettier-config",
|
|
253
247
|
extends: [prettier]
|
|
254
248
|
});
|
|
255
|
-
|
|
256
249
|
//#endregion
|
|
257
250
|
//#region src/configs/react-config.ts
|
|
258
251
|
/**
|
|
@@ -343,7 +336,6 @@ const reactConfig = defineConfig({
|
|
|
343
336
|
"react/void-dom-elements-no-children": "error"
|
|
344
337
|
}
|
|
345
338
|
});
|
|
346
|
-
|
|
347
339
|
//#endregion
|
|
348
340
|
//#region src/configs/react-hooks-config.ts
|
|
349
341
|
/**
|
|
@@ -354,7 +346,6 @@ const reactHooksConfig = defineConfig({
|
|
|
354
346
|
name: "react-hooks-config",
|
|
355
347
|
extends: [reactHooks.configs.flat.recommended]
|
|
356
348
|
});
|
|
357
|
-
|
|
358
349
|
//#endregion
|
|
359
350
|
//#region src/configs/stylistic-config.ts
|
|
360
351
|
/**
|
|
@@ -373,7 +364,6 @@ const stylisticConfig = defineConfig({
|
|
|
373
364
|
}
|
|
374
365
|
] }
|
|
375
366
|
});
|
|
376
|
-
|
|
377
367
|
//#endregion
|
|
378
368
|
//#region src/configs/typescript-config.ts
|
|
379
369
|
/**
|
|
@@ -556,7 +546,6 @@ const typescriptConfig = defineConfig([{
|
|
|
556
546
|
"@typescript-eslint/naming-convention": "off"
|
|
557
547
|
}
|
|
558
548
|
}]);
|
|
559
|
-
|
|
560
549
|
//#endregion
|
|
561
550
|
//#region src/configs/unicorn-config.ts
|
|
562
551
|
/**
|
|
@@ -571,7 +560,6 @@ const unicornConfig = defineConfig({
|
|
|
571
560
|
"unicorn/prefer-node-protocol": "error"
|
|
572
561
|
}
|
|
573
562
|
});
|
|
574
|
-
|
|
575
563
|
//#endregion
|
|
576
564
|
//#region src/configs/vitest-config.ts
|
|
577
565
|
/**
|
|
@@ -610,7 +598,6 @@ const vitestConfig = defineConfig({
|
|
|
610
598
|
"vitest/valid-title": ["error", { mustMatch: { test: "^should" } }]
|
|
611
599
|
}
|
|
612
600
|
});
|
|
613
|
-
|
|
614
601
|
//#endregion
|
|
615
602
|
//#region src/index.ts
|
|
616
603
|
/**
|
|
@@ -659,7 +646,7 @@ function createReactEslintConfig(rootDir, overrides = []) {
|
|
|
659
646
|
}
|
|
660
647
|
]);
|
|
661
648
|
}
|
|
662
|
-
|
|
663
649
|
//#endregion
|
|
664
650
|
export { createBaseEslintConfig, createReactEslintConfig };
|
|
651
|
+
|
|
665
652
|
//# sourceMappingURL=index.mjs.map
|