@santi020k/eslint-config-santi020k 1.1.7 → 1.2.1
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/README.md +1 -0
- package/dist/cjs/index.cjs +6 -5
- package/dist/esm/index.mjs +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -195,6 +195,7 @@ Here are some useful scripts you can add to your `package.json`:
|
|
|
195
195
|
[ ] Unit testing
|
|
196
196
|
[ ] Better documentation
|
|
197
197
|
[ ] Additional Frameworks support
|
|
198
|
+
[ ] Refactor rules structure (eslint configurations are currently duplicated)
|
|
198
199
|
|
|
199
200
|
## Contributing
|
|
200
201
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -316,6 +316,8 @@ const astroConfig = [
|
|
|
316
316
|
|
|
317
317
|
const rules$3 = {
|
|
318
318
|
...rules$5,
|
|
319
|
+
semi: "off",
|
|
320
|
+
"no-unused-vars": "off",
|
|
319
321
|
"@typescript-eslint/indent": "off",
|
|
320
322
|
"@typescript-eslint/no-unused-vars": [
|
|
321
323
|
"warn",
|
|
@@ -338,8 +340,7 @@ const rules$3 = {
|
|
|
338
340
|
"@typescript-eslint/no-dynamic-delete": "warn",
|
|
339
341
|
"@typescript-eslint/no-useless-constructor": "warn",
|
|
340
342
|
"@typescript-eslint/prefer-for-of": "warn",
|
|
341
|
-
"@typescript-eslint/no-duplicate-enum-values": "warn"
|
|
342
|
-
semi: "off"
|
|
343
|
+
"@typescript-eslint/no-duplicate-enum-values": "warn"
|
|
343
344
|
};
|
|
344
345
|
|
|
345
346
|
const tsConfig = [
|
|
@@ -354,8 +355,8 @@ const tsConfig = [
|
|
|
354
355
|
];
|
|
355
356
|
|
|
356
357
|
const rules$2 = {
|
|
357
|
-
...rules$
|
|
358
|
-
...rules$
|
|
358
|
+
...rules$4,
|
|
359
|
+
...rules$3
|
|
359
360
|
};
|
|
360
361
|
|
|
361
362
|
const reactTsConfig = [
|
|
@@ -422,8 +423,8 @@ const rules = {
|
|
|
422
423
|
};
|
|
423
424
|
|
|
424
425
|
const nextTsConfig = [
|
|
425
|
-
...reactTsConfig,
|
|
426
426
|
...nextConfig,
|
|
427
|
+
...reactTsConfig,
|
|
427
428
|
{
|
|
428
429
|
name: "custom-next-ts",
|
|
429
430
|
rules
|
package/dist/esm/index.mjs
CHANGED
|
@@ -314,6 +314,8 @@ const astroConfig = [
|
|
|
314
314
|
|
|
315
315
|
const rules$3 = {
|
|
316
316
|
...rules$5,
|
|
317
|
+
semi: "off",
|
|
318
|
+
"no-unused-vars": "off",
|
|
317
319
|
"@typescript-eslint/indent": "off",
|
|
318
320
|
"@typescript-eslint/no-unused-vars": [
|
|
319
321
|
"warn",
|
|
@@ -336,8 +338,7 @@ const rules$3 = {
|
|
|
336
338
|
"@typescript-eslint/no-dynamic-delete": "warn",
|
|
337
339
|
"@typescript-eslint/no-useless-constructor": "warn",
|
|
338
340
|
"@typescript-eslint/prefer-for-of": "warn",
|
|
339
|
-
"@typescript-eslint/no-duplicate-enum-values": "warn"
|
|
340
|
-
semi: "off"
|
|
341
|
+
"@typescript-eslint/no-duplicate-enum-values": "warn"
|
|
341
342
|
};
|
|
342
343
|
|
|
343
344
|
const tsConfig = [
|
|
@@ -352,8 +353,8 @@ const tsConfig = [
|
|
|
352
353
|
];
|
|
353
354
|
|
|
354
355
|
const rules$2 = {
|
|
355
|
-
...rules$
|
|
356
|
-
...rules$
|
|
356
|
+
...rules$4,
|
|
357
|
+
...rules$3
|
|
357
358
|
};
|
|
358
359
|
|
|
359
360
|
const reactTsConfig = [
|
|
@@ -420,8 +421,8 @@ const rules = {
|
|
|
420
421
|
};
|
|
421
422
|
|
|
422
423
|
const nextTsConfig = [
|
|
423
|
-
...reactTsConfig,
|
|
424
424
|
...nextConfig,
|
|
425
|
+
...reactTsConfig,
|
|
425
426
|
{
|
|
426
427
|
name: "custom-next-ts",
|
|
427
428
|
rules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@santi020k/eslint-config-santi020k",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "A comprehensive ESLint configuration package for JavaScript, TypeScript, and React projects, including popular plugins and custom rules for consistent coding style.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.cjs",
|