@juuso.piikkila/eslint-config-typescript 3.0.10 → 3.0.11
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/CHANGELOG.md +6 -0
- package/configurations/base/index.js +4 -5
- package/configurations/typescript/index.js +2 -3
- package/eslint.config.mjs +5 -0
- package/index.js +2 -3
- package/package.json +3 -3
- package/eslint.config.cjs +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [3.0.11](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.10...3.0.11) (2025-03-10)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* update config ([0028017](https://github.com/juusopiikkila/eslint-config-typescript/commit/002801763ac1e61cce57dff344c9b9ebbb230ca8))
|
|
6
|
+
|
|
1
7
|
## [3.0.10](https://github.com/juusopiikkila/eslint-config-typescript/compare/3.0.9...3.0.10) (2025-03-10)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
2
2
|
import stylisticPlugin from '@stylistic/eslint-plugin';
|
|
3
|
-
import canonical from 'eslint-config-canonical/configurations/canonical';
|
|
4
|
-
import regexp from 'eslint-config-canonical/configurations/regexp';
|
|
3
|
+
import canonical from 'eslint-config-canonical/configurations/canonical.js';
|
|
4
|
+
import regexp from 'eslint-config-canonical/configurations/regexp.js';
|
|
5
5
|
import canonicalPlugin from 'eslint-plugin-canonical';
|
|
6
6
|
import importPlugin from 'eslint-plugin-import';
|
|
7
7
|
import perfectionistPlugin from 'eslint-plugin-perfectionist';
|
|
8
8
|
import unicornPlugin from 'eslint-plugin-unicorn';
|
|
9
|
-
import { defineConfig } from 'eslint/config';
|
|
10
9
|
|
|
11
|
-
export default
|
|
10
|
+
export default [
|
|
12
11
|
canonical.recommended,
|
|
13
12
|
regexp.recommended,
|
|
14
13
|
{
|
|
@@ -183,4 +182,4 @@ export default defineConfig([
|
|
|
183
182
|
],
|
|
184
183
|
},
|
|
185
184
|
},
|
|
186
|
-
]
|
|
185
|
+
];
|
|
@@ -2,9 +2,8 @@ import stylisticPlugin from '@stylistic/eslint-config';
|
|
|
2
2
|
import typescriptEslintPlugin from '@typescript-eslint/eslint-plugin';
|
|
3
3
|
import typescript from 'eslint-config-canonical/configurations/typescript';
|
|
4
4
|
import typescriptTypeChecking from 'eslint-config-canonical/configurations/typescript-type-checking';
|
|
5
|
-
import { defineConfig } from 'eslint/config';
|
|
6
5
|
|
|
7
|
-
export default
|
|
6
|
+
export default [
|
|
8
7
|
typescript.recommended,
|
|
9
8
|
typescriptTypeChecking.recommended,
|
|
10
9
|
{
|
|
@@ -108,4 +107,4 @@ export default defineConfig([
|
|
|
108
107
|
'@typescript-eslint/type-annotation-spacing': 'off',
|
|
109
108
|
},
|
|
110
109
|
},
|
|
111
|
-
]
|
|
110
|
+
];
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juuso.piikkila/eslint-config-typescript",
|
|
3
3
|
"description": "ESLint config for typescript projects",
|
|
4
|
-
"version": "3.0.
|
|
5
|
-
"main": "index.
|
|
4
|
+
"version": "3.0.11",
|
|
5
|
+
"main": "index.js",
|
|
6
6
|
"author": "Juuso Piikkilä",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"packageManager": "yarn@4.7.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
|
-
"lint": "eslint \"configurations/**/*.
|
|
14
|
+
"lint": "eslint \"configurations/**/*.js\" \"index.js\""
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"eslint": "^9.0.0",
|