@exadev/eslint-config 2.10.0 → 2.10.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/dist/index.cjs +4 -1
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -25,6 +25,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
//#endregion
|
|
27
27
|
let node_module = require("node:module");
|
|
28
|
+
let _eslint_js = require("@eslint/js");
|
|
29
|
+
_eslint_js = __toESM(_eslint_js, 1);
|
|
28
30
|
let typescript_eslint = require("typescript-eslint");
|
|
29
31
|
typescript_eslint = __toESM(typescript_eslint, 1);
|
|
30
32
|
let node_path = require("node:path");
|
|
@@ -110,7 +112,7 @@ function buildReactConfig(options = {}) {
|
|
|
110
112
|
}
|
|
111
113
|
//#endregion
|
|
112
114
|
//#region package.json
|
|
113
|
-
var version = "2.10.
|
|
115
|
+
var version = "2.10.1";
|
|
114
116
|
//#endregion
|
|
115
117
|
//#region src/rules/barrel-helpers.ts
|
|
116
118
|
const INDEX_BASENAME$1 = /^index\.[cm]?[tj]sx?$/;
|
|
@@ -1339,6 +1341,7 @@ const plugin = {
|
|
|
1339
1341
|
//#region src/recommended-type-checked.ts
|
|
1340
1342
|
const TEST_FILE_PATTERNS = "**/*.{test,spec}.{ts,tsx,mts,cts,js,jsx,mjs,cjs}";
|
|
1341
1343
|
const recommendedTypeChecked = [
|
|
1344
|
+
_eslint_js.default.configs.recommended,
|
|
1342
1345
|
...typescript_eslint.default.configs.strictTypeChecked,
|
|
1343
1346
|
...typescript_eslint.default.configs.stylisticTypeChecked,
|
|
1344
1347
|
{
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
+
import js from "@eslint/js";
|
|
2
3
|
import tseslint from "typescript-eslint";
|
|
3
4
|
import { posix } from "node:path";
|
|
4
5
|
import { AST_NODE_TYPES, ESLintUtils, TSESLint } from "@typescript-eslint/utils";
|
|
@@ -82,7 +83,7 @@ function buildReactConfig(options = {}) {
|
|
|
82
83
|
}
|
|
83
84
|
//#endregion
|
|
84
85
|
//#region package.json
|
|
85
|
-
var version = "2.10.
|
|
86
|
+
var version = "2.10.1";
|
|
86
87
|
//#endregion
|
|
87
88
|
//#region src/rules/barrel-helpers.ts
|
|
88
89
|
const INDEX_BASENAME$1 = /^index\.[cm]?[tj]sx?$/;
|
|
@@ -1311,6 +1312,7 @@ const plugin = {
|
|
|
1311
1312
|
//#region src/recommended-type-checked.ts
|
|
1312
1313
|
const TEST_FILE_PATTERNS = "**/*.{test,spec}.{ts,tsx,mts,cts,js,jsx,mjs,cjs}";
|
|
1313
1314
|
const recommendedTypeChecked = [
|
|
1315
|
+
js.configs.recommended,
|
|
1314
1316
|
...tseslint.configs.strictTypeChecked,
|
|
1315
1317
|
...tseslint.configs.stylisticTypeChecked,
|
|
1316
1318
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exadev/eslint-config",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"description": "Shared custom ESLint rules and plugin for ExaDev projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -64,7 +64,6 @@
|
|
|
64
64
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
65
65
|
"@commitlint/cli": "^21.2.1",
|
|
66
66
|
"@commitlint/config-conventional": "^21.2.0",
|
|
67
|
-
"@eslint/js": "^10.0.1",
|
|
68
67
|
"@next/eslint-plugin-next": "^16.3.2",
|
|
69
68
|
"@semantic-release/changelog": "^7.0.0",
|
|
70
69
|
"@semantic-release/git": "^11.0.1",
|
|
@@ -99,6 +98,7 @@
|
|
|
99
98
|
"release": "semantic-release"
|
|
100
99
|
},
|
|
101
100
|
"dependencies": {
|
|
101
|
+
"@eslint/js": "^10.0.1",
|
|
102
102
|
"@typescript-eslint/utils": "^8.67.0",
|
|
103
103
|
"ts-api-utils": "^2.5.0"
|
|
104
104
|
}
|