eslint-config-decent 2.5.0-beta2 → 2.5.0
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.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
- package/src/index.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -771,7 +771,7 @@ function tsEslintConfig(options) {
|
|
|
771
771
|
const enableJest = options?.enableJest ?? true;
|
|
772
772
|
const enableMocha = options?.enableMocha ?? true;
|
|
773
773
|
const enableReact = options?.enableReact ?? true;
|
|
774
|
-
const enableNextJs = options?.enableNextJs ??
|
|
774
|
+
const enableNextJs = options?.enableNextJs ?? false;
|
|
775
775
|
const enableTestingLibrary = options?.enableTestingLibrary ?? true;
|
|
776
776
|
const languageOptions = {
|
|
777
777
|
globals: {
|
package/dist/index.mjs
CHANGED
|
@@ -749,7 +749,7 @@ function tsEslintConfig(options) {
|
|
|
749
749
|
const enableJest = options?.enableJest ?? true;
|
|
750
750
|
const enableMocha = options?.enableMocha ?? true;
|
|
751
751
|
const enableReact = options?.enableReact ?? true;
|
|
752
|
-
const enableNextJs = options?.enableNextJs ??
|
|
752
|
+
const enableNextJs = options?.enableNextJs ?? false;
|
|
753
753
|
const enableTestingLibrary = options?.enableTestingLibrary ?? true;
|
|
754
754
|
const languageOptions = {
|
|
755
755
|
globals: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-decent",
|
|
3
|
-
"version": "2.5.0
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "A decent ESLint configuration",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "unbuild",
|
|
27
27
|
"test": "tsc --noEmit --skipLibCheck",
|
|
28
|
-
"lint:markdown": "prettier --cache --write '*.md' '
|
|
28
|
+
"lint:markdown": "prettier --cache --write '*.md' '!**/(node_modules|dist)/**/*.md' && markdownlint '*.md' '!**/(node_modules|dist)/**/*.md' --config=.github/linters/.markdown-lint.yml --fix",
|
|
29
29
|
"lint:code": "eslint --fix",
|
|
30
30
|
"prelint": "npm run build",
|
|
31
31
|
"lint": "run-p lint:*",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@eslint/compat": "1.2.6",
|
|
76
76
|
"@eslint/js": "9.20.0",
|
|
77
|
+
"@typescript-eslint/utils": "8.24.0",
|
|
77
78
|
"@next/eslint-plugin-next": "^15.1.7",
|
|
78
|
-
"@typescript-eslint/utils": "8.23.0",
|
|
79
79
|
"eslint-config-prettier": "10.0.1",
|
|
80
80
|
"eslint-plugin-import-x": "4.6.1",
|
|
81
81
|
"eslint-plugin-jest": "28.11.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"eslint-plugin-testing-library": "7.1.1",
|
|
92
92
|
"eslint-plugin-unicorn": "56.0.1",
|
|
93
93
|
"globals": "15.14.0",
|
|
94
|
-
"typescript-eslint": "8.
|
|
94
|
+
"typescript-eslint": "8.24.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@swc/core": "^1.10.15",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"markdownlint-cli": "^0.44.0",
|
|
103
103
|
"npm-run-all": "^4.1.5",
|
|
104
104
|
"pinst": "^3.0.0",
|
|
105
|
-
"prettier": "
|
|
105
|
+
"prettier": "3.4.2",
|
|
106
106
|
"typescript": "^5.7.3",
|
|
107
107
|
"unbuild": "3.3.1"
|
|
108
108
|
},
|
package/src/index.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function tsEslintConfig(options?: DefaultConfigOptions): ConfigWithExtend
|
|
|
61
61
|
const enableJest = options?.enableJest ?? true;
|
|
62
62
|
const enableMocha = options?.enableMocha ?? true;
|
|
63
63
|
const enableReact = options?.enableReact ?? true;
|
|
64
|
-
const enableNextJs = options?.enableNextJs ??
|
|
64
|
+
const enableNextJs = options?.enableNextJs ?? false;
|
|
65
65
|
const enableTestingLibrary = options?.enableTestingLibrary ?? true;
|
|
66
66
|
const languageOptions: ConfigWithExtends['languageOptions'] = {
|
|
67
67
|
globals: {
|