@map-colonies/eslint-config 6.0.0 → 7.0.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/configs/jest.d.mts +2 -1
- package/dist/configs/jest.d.mts.map +1 -0
- package/dist/configs/react.d.mts +3 -1
- package/dist/configs/react.d.mts.map +1 -0
- package/dist/configs/ts-base.d.mts +2 -1
- package/dist/configs/ts-base.d.mts.map +1 -0
- package/dist/configs/ts-base.mjs +12 -9
- package/dist/configs/ts-base.mjs.map +1 -1
- package/dist/helpers.d.mts +1 -0
- package/dist/helpers.d.mts.map +1 -0
- package/dist/internal/helpers.d.ts +1 -0
- package/dist/internal/helpers.d.ts.map +1 -0
- package/package.json +30 -60
package/dist/configs/jest.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const jestConfig: import("
|
|
1
|
+
declare const jestConfig: import("typescript-eslint").FlatConfig.ConfigArray;
|
|
2
2
|
/**
|
|
3
3
|
* The default export for the Jest configuration.
|
|
4
4
|
* This configuration is used to set up and customize the behavior of Jest,
|
|
@@ -12,3 +12,4 @@ declare const jestConfig: import("@typescript-eslint/utils/ts-eslint").FlatConfi
|
|
|
12
12
|
* export default config(jestConfig);
|
|
13
13
|
*/
|
|
14
14
|
export default jestConfig;
|
|
15
|
+
//# sourceMappingURL=jest.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jest.d.mts","sourceRoot":"","sources":["../../src/configs/jest.mts"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU,oDAWd,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,eAAe,UAAU,CAAC"}
|
package/dist/configs/react.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type tseslint from 'typescript-eslint';
|
|
1
2
|
/**
|
|
2
3
|
* Combined React and React Hooks ESLint configuration
|
|
3
4
|
*
|
|
@@ -16,5 +17,6 @@
|
|
|
16
17
|
*
|
|
17
18
|
* export default config(reactConfig);
|
|
18
19
|
*/
|
|
19
|
-
declare const _default:
|
|
20
|
+
declare const _default: tseslint.FlatConfig.ConfigArray;
|
|
20
21
|
export default _default;
|
|
22
|
+
//# sourceMappingURL=react.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react.d.mts","sourceRoot":"","sources":["../../src/configs/react.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;AAmC9C;;;;;;;;;;;;;;;;;GAiBG;;AACH,wBAAmD"}
|
|
@@ -42,7 +42,7 @@ export declare const namingConventions: ["error", {
|
|
|
42
42
|
readonly selector: "typeLike";
|
|
43
43
|
readonly format: readonly ["PascalCase"];
|
|
44
44
|
}];
|
|
45
|
-
declare const combinedConfig: import("
|
|
45
|
+
declare const combinedConfig: import("eslint/config").Config[];
|
|
46
46
|
/**
|
|
47
47
|
* Combined ESLint configuration for TypeScript projects
|
|
48
48
|
* Includes:
|
|
@@ -64,3 +64,4 @@ declare const combinedConfig: import("@typescript-eslint/utils/ts-eslint").FlatC
|
|
|
64
64
|
* export default config(tsBaseConfig);
|
|
65
65
|
*/
|
|
66
66
|
export default combinedConfig;
|
|
67
|
+
//# sourceMappingURL=ts-base.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ts-base.d.mts","sourceRoot":"","sources":["../../src/configs/ts-base.mts"],"names":[],"mappings":"AASA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDO,CAAC;AA6HtC,QAAA,MAAM,cAAc,kCAanB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAe,cAAc,CAAC"}
|
package/dist/configs/ts-base.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import eslint from '@eslint/js';
|
|
2
2
|
import { configs as tsEslintConfigs } from 'typescript-eslint';
|
|
3
|
-
import
|
|
3
|
+
import { flatConfigs as importFlatConfigs } from 'eslint-plugin-import-x';
|
|
4
4
|
import eslintConfigPrettier from 'eslint-config-prettier';
|
|
5
5
|
import tsParser from '@typescript-eslint/parser';
|
|
6
|
-
import { config } from '../helpers.mjs';
|
|
6
|
+
// import { config } from '../helpers.mjs';
|
|
7
|
+
import { defineConfig } from 'eslint/config';
|
|
7
8
|
/**
|
|
8
9
|
* ESLint naming convention rules for TypeScript projects
|
|
9
10
|
*
|
|
@@ -68,7 +69,7 @@ export const namingConventions = [
|
|
|
68
69
|
format: ['PascalCase'],
|
|
69
70
|
},
|
|
70
71
|
];
|
|
71
|
-
const typescriptEslintRules =
|
|
72
|
+
const typescriptEslintRules = defineConfig({
|
|
72
73
|
name: 'map-colonies/typescript-eslint/rules',
|
|
73
74
|
rules: {
|
|
74
75
|
'@typescript-eslint/array-type': ['error', { default: 'array' }],
|
|
@@ -116,7 +117,7 @@ const typescriptEslintRules = config({
|
|
|
116
117
|
},
|
|
117
118
|
});
|
|
118
119
|
// This is not in the jest config as it only turns rules off, and needs to be applied after the other rules
|
|
119
|
-
const jestTurnedOffRules =
|
|
120
|
+
const jestTurnedOffRules = defineConfig({
|
|
120
121
|
name: 'map-colonies/jest/disabled-rules',
|
|
121
122
|
files: ['**/*.spec.ts?(x)', '**/*.test.ts?(x)'],
|
|
122
123
|
rules: {
|
|
@@ -125,7 +126,7 @@ const jestTurnedOffRules = config({
|
|
|
125
126
|
},
|
|
126
127
|
});
|
|
127
128
|
// // This is not in the react config as it only turns rules off, and needs to be applied after the other rules
|
|
128
|
-
const reactNamingConventions =
|
|
129
|
+
const reactNamingConventions = defineConfig({
|
|
129
130
|
name: 'map-colonies/react/naming-conventions',
|
|
130
131
|
files: ['**/*.tsx'],
|
|
131
132
|
rules: {
|
|
@@ -139,7 +140,7 @@ const reactNamingConventions = config({
|
|
|
139
140
|
],
|
|
140
141
|
},
|
|
141
142
|
});
|
|
142
|
-
const importRulesAndConfig =
|
|
143
|
+
const importRulesAndConfig = defineConfig({
|
|
143
144
|
name: 'map-colonies/import-x/rules',
|
|
144
145
|
files: ['**/*.ts?(x)'],
|
|
145
146
|
ignores: ['eslint.config.*'],
|
|
@@ -171,11 +172,11 @@ const importRulesAndConfig = config({
|
|
|
171
172
|
'import-x/newline-after-import': 'error',
|
|
172
173
|
},
|
|
173
174
|
});
|
|
174
|
-
const globalIgnoreConfig =
|
|
175
|
+
const globalIgnoreConfig = defineConfig({
|
|
175
176
|
name: 'map-colonies/global-ignore',
|
|
176
177
|
ignores: ['.husky', 'coverage', 'reports', 'dist', 'node_modules', '**/*.{js,mjs,cjs}', 'helm'],
|
|
177
178
|
});
|
|
178
|
-
const parserOptions =
|
|
179
|
+
const parserOptions = defineConfig({
|
|
179
180
|
name: 'map-colonies/parser-options',
|
|
180
181
|
languageOptions: {
|
|
181
182
|
parserOptions: {
|
|
@@ -184,7 +185,9 @@ const parserOptions = config({
|
|
|
184
185
|
},
|
|
185
186
|
},
|
|
186
187
|
});
|
|
187
|
-
const combinedConfig =
|
|
188
|
+
const combinedConfig = defineConfig(eslint.configs.recommended, tsEslintConfigs.recommendedTypeChecked, typescriptEslintRules, jestTurnedOffRules, reactNamingConventions,
|
|
189
|
+
//@ts-expect-error it works and a known issue https://github.com/un-ts/eslint-plugin-import-x/issues/421
|
|
190
|
+
importFlatConfigs.recommended, { name: 'import-x/typescript', ...importFlatConfigs.typescript }, importRulesAndConfig, globalIgnoreConfig, parserOptions, { name: 'eslint-prettier/disabled-rules', ...eslintConfigPrettier });
|
|
188
191
|
/**
|
|
189
192
|
* Combined ESLint configuration for TypeScript projects
|
|
190
193
|
* Includes:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-base.mjs","sourceRoot":"","sources":["../../src/configs/ts-base.mts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,YAAY,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,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+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/internal/helpers.ts"],"names":[],"mappings":"AAAA,wBAAsB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAWpF"}
|
package/package.json
CHANGED
|
@@ -1,60 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@map-colonies/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "eslint configs for map colonies organization",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/configs/ts-base.mjs",
|
|
7
|
-
"types": "./dist/configs/ts-base.d.ts",
|
|
8
6
|
"exports": {
|
|
9
7
|
"./ts-base": {
|
|
10
|
-
"types": "./dist/configs/ts-base.d.
|
|
8
|
+
"types": "./dist/configs/ts-base.d.mts",
|
|
11
9
|
"import": "./dist/configs/ts-base.mjs"
|
|
12
10
|
},
|
|
13
11
|
"./react": {
|
|
14
|
-
"types": "./dist/configs/react.d.
|
|
12
|
+
"types": "./dist/configs/react.d.mts",
|
|
15
13
|
"import": "./dist/configs/react.mjs"
|
|
16
14
|
},
|
|
17
15
|
"./jest": {
|
|
18
|
-
"types": "./dist/configs/jest.d.
|
|
16
|
+
"types": "./dist/configs/jest.d.mts",
|
|
19
17
|
"import": "./dist/configs/jest.mjs"
|
|
20
18
|
},
|
|
21
19
|
"./helpers": {
|
|
22
|
-
"types": "./dist/helpers.d.
|
|
20
|
+
"types": "./dist/helpers.d.mts",
|
|
23
21
|
"import": "./dist/helpers.mjs"
|
|
24
22
|
}
|
|
25
23
|
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"prepare": "husky",
|
|
28
|
-
"format": "prettier --check .",
|
|
29
|
-
"format:fix": "prettier --write .",
|
|
30
|
-
"prelint:fix": "npm run format:fix",
|
|
31
|
-
"prelint": "npm run format",
|
|
32
|
-
"lint": "eslint .",
|
|
33
|
-
"lint:fix": "eslint --fix .",
|
|
34
|
-
"pretest": "npm run build",
|
|
35
|
-
"test": "tsc --noEmit -p tsconfig.json && NODE_OPTIONS=--experimental-vm-modules jest --config=./tests/configurations/jest.config.mjs",
|
|
36
|
-
"prepack": "npm run build",
|
|
37
|
-
"prebuild": "npm run clean",
|
|
38
|
-
"clean": "rimraf dist",
|
|
39
|
-
"build": "tsc --project tsconfig.build.json",
|
|
40
|
-
"docs": "typedoc"
|
|
41
|
-
},
|
|
42
24
|
"files": [
|
|
43
25
|
"dist/**/*"
|
|
44
26
|
],
|
|
45
|
-
"repository": {
|
|
46
|
-
"type": "git",
|
|
47
|
-
"url": "git+https://github.com/MapColonies/eslint-config.git"
|
|
48
|
-
},
|
|
49
|
-
"author": "MapColonies",
|
|
50
|
-
"license": "MIT",
|
|
51
|
-
"bugs": {
|
|
52
|
-
"url": "https://github.com/MapColonies/eslint-config/issues"
|
|
53
|
-
},
|
|
54
|
-
"homepage": "https://github.com/MapColonies/eslint-config#readme",
|
|
55
27
|
"engines": {
|
|
56
|
-
"node": ">=
|
|
28
|
+
"node": ">=24"
|
|
57
29
|
},
|
|
30
|
+
"repository": "github:MapColonies/infra-packages",
|
|
58
31
|
"peerDependencies": {
|
|
59
32
|
"eslint": "^9.19.0",
|
|
60
33
|
"eslint-plugin-jest": "^28.11.0",
|
|
@@ -80,33 +53,30 @@
|
|
|
80
53
|
"@eslint/js": "^9.19.0",
|
|
81
54
|
"eslint-config-prettier": "^10.0.1",
|
|
82
55
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
83
|
-
"eslint-plugin-import-x": "^4.
|
|
56
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
57
|
+
"@typescript-eslint/parser": "^8.23.0",
|
|
84
58
|
"typescript-eslint": "^8.23.0"
|
|
85
59
|
},
|
|
86
60
|
"devDependencies": {
|
|
87
|
-
"@
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"@
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"globals": "^15.15.0",
|
|
108
|
-
"eslint-plugin-react-hooks": "^5.1.0",
|
|
109
|
-
"eslint-plugin-jest": "^28.11.0",
|
|
110
|
-
"eslint-plugin-react": "^7.37.4"
|
|
61
|
+
"@types/node": "24.0.0",
|
|
62
|
+
"eslint": "^9.39.1",
|
|
63
|
+
"typescript": "5.9.3",
|
|
64
|
+
"eslint-plugin-react-hooks": "5.2.0",
|
|
65
|
+
"eslint-plugin-jest": "28.14.0",
|
|
66
|
+
"eslint-plugin-react": "7.37.5",
|
|
67
|
+
"vitest": "^4.0.15",
|
|
68
|
+
"@map-colonies/tsconfig": "^2.0.0",
|
|
69
|
+
"vitest-config": "^0.0.0"
|
|
70
|
+
},
|
|
71
|
+
"scripts": {
|
|
72
|
+
"lint": "eslint .",
|
|
73
|
+
"lint:fix": "eslint --fix .",
|
|
74
|
+
"pretest": "turbo run build",
|
|
75
|
+
"test": "vitest run",
|
|
76
|
+
"prebuild": "pnpm run clean",
|
|
77
|
+
"clean": "rimraf dist",
|
|
78
|
+
"build": "tsc --project tsconfig.build.json",
|
|
79
|
+
"check-dist": "publint && attw --profile esm-only --pack .",
|
|
80
|
+
"knip": "knip --directory ../.. --workspace packages/eslint-config"
|
|
111
81
|
}
|
|
112
|
-
}
|
|
82
|
+
}
|