@santi020k/eslint-config-santi020k 1.2.0 → 1.2.2
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 -4
- package/dist/esm/index.mjs +6 -4
- 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
|
@@ -43,6 +43,9 @@ const groups = [
|
|
|
43
43
|
];
|
|
44
44
|
const rules$5 = {
|
|
45
45
|
"unused-imports/no-unused-imports": "warn",
|
|
46
|
+
indent: "off",
|
|
47
|
+
"brace-style": "off",
|
|
48
|
+
"@stylistic/brace-style": ["warn", "1tbs"],
|
|
46
49
|
"@stylistic/indent": ["warn", 2],
|
|
47
50
|
"@stylistic/quote-props": ["warn", "as-needed"],
|
|
48
51
|
quotes: "off",
|
|
@@ -147,7 +150,6 @@ const rules$5 = {
|
|
|
147
150
|
"@stylistic/implicit-arrow-linebreak": "warn",
|
|
148
151
|
"import/export": "warn",
|
|
149
152
|
"no-useless-escape": "warn",
|
|
150
|
-
"@stylistic/brace-style": "warn",
|
|
151
153
|
"no-useless-return": "warn",
|
|
152
154
|
"prefer-promise-reject-errors": "warn",
|
|
153
155
|
"no-useless-constructor": "warn",
|
|
@@ -355,8 +357,8 @@ const tsConfig = [
|
|
|
355
357
|
];
|
|
356
358
|
|
|
357
359
|
const rules$2 = {
|
|
358
|
-
...rules$
|
|
359
|
-
...rules$
|
|
360
|
+
...rules$4,
|
|
361
|
+
...rules$3
|
|
360
362
|
};
|
|
361
363
|
|
|
362
364
|
const reactTsConfig = [
|
|
@@ -423,8 +425,8 @@ const rules = {
|
|
|
423
425
|
};
|
|
424
426
|
|
|
425
427
|
const nextTsConfig = [
|
|
426
|
-
...reactTsConfig,
|
|
427
428
|
...nextConfig,
|
|
429
|
+
...reactTsConfig,
|
|
428
430
|
{
|
|
429
431
|
name: "custom-next-ts",
|
|
430
432
|
rules
|
package/dist/esm/index.mjs
CHANGED
|
@@ -41,6 +41,9 @@ const groups = [
|
|
|
41
41
|
];
|
|
42
42
|
const rules$5 = {
|
|
43
43
|
"unused-imports/no-unused-imports": "warn",
|
|
44
|
+
indent: "off",
|
|
45
|
+
"brace-style": "off",
|
|
46
|
+
"@stylistic/brace-style": ["warn", "1tbs"],
|
|
44
47
|
"@stylistic/indent": ["warn", 2],
|
|
45
48
|
"@stylistic/quote-props": ["warn", "as-needed"],
|
|
46
49
|
quotes: "off",
|
|
@@ -145,7 +148,6 @@ const rules$5 = {
|
|
|
145
148
|
"@stylistic/implicit-arrow-linebreak": "warn",
|
|
146
149
|
"import/export": "warn",
|
|
147
150
|
"no-useless-escape": "warn",
|
|
148
|
-
"@stylistic/brace-style": "warn",
|
|
149
151
|
"no-useless-return": "warn",
|
|
150
152
|
"prefer-promise-reject-errors": "warn",
|
|
151
153
|
"no-useless-constructor": "warn",
|
|
@@ -353,8 +355,8 @@ const tsConfig = [
|
|
|
353
355
|
];
|
|
354
356
|
|
|
355
357
|
const rules$2 = {
|
|
356
|
-
...rules$
|
|
357
|
-
...rules$
|
|
358
|
+
...rules$4,
|
|
359
|
+
...rules$3
|
|
358
360
|
};
|
|
359
361
|
|
|
360
362
|
const reactTsConfig = [
|
|
@@ -421,8 +423,8 @@ const rules = {
|
|
|
421
423
|
};
|
|
422
424
|
|
|
423
425
|
const nextTsConfig = [
|
|
424
|
-
...reactTsConfig,
|
|
425
426
|
...nextConfig,
|
|
427
|
+
...reactTsConfig,
|
|
426
428
|
{
|
|
427
429
|
name: "custom-next-ts",
|
|
428
430
|
rules
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@santi020k/eslint-config-santi020k",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
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",
|