@book000/eslint-config 1.13.4 → 1.13.5
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/index.mjs +3 -4
- package/package.json +5 -9
package/index.mjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { FlatCompat } from "@eslint/eslintrc";
|
|
2
1
|
import tseslintParser from "@typescript-eslint/parser";
|
|
3
2
|
import eslintPrettier from "eslint-config-prettier";
|
|
4
3
|
import unicorn from "eslint-plugin-unicorn";
|
|
5
4
|
import globals from "globals";
|
|
5
|
+
import neostandard from "neostandard";
|
|
6
6
|
import tseslint from "typescript-eslint";
|
|
7
7
|
|
|
8
|
-
const compat = new FlatCompat();
|
|
9
|
-
|
|
10
8
|
export default tseslint.config(
|
|
11
|
-
|
|
9
|
+
// Standard JS のルールセット(スタイル系は prettier に委ねるため無効化)
|
|
10
|
+
...neostandard({ noStyle: true }),
|
|
12
11
|
...tseslint.configs.recommended,
|
|
13
12
|
// @ts-expect-error flat/recommendedの返すpluginsがstring[]なことでエラーになるため
|
|
14
13
|
unicorn.configs["flat/recommended"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@book000/eslint-config",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.5",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config"
|
|
@@ -17,19 +17,15 @@
|
|
|
17
17
|
"url": "git@github.com:book000/eslint-config.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@eslint/
|
|
21
|
-
"@typescript-eslint/parser": "8.54.0",
|
|
20
|
+
"@typescript-eslint/parser": "8.56.1",
|
|
22
21
|
"eslint-config-prettier": "10.1.8",
|
|
23
|
-
"eslint-plugin-import": "2.32.0",
|
|
24
|
-
"eslint-plugin-n": "17.23.2",
|
|
25
|
-
"eslint-plugin-promise": "7.2.1",
|
|
26
22
|
"eslint-plugin-unicorn": "62.0.0",
|
|
27
23
|
"globals": "17.2.0",
|
|
28
|
-
"
|
|
24
|
+
"neostandard": "0.12.2",
|
|
25
|
+
"typescript-eslint": "8.56.1"
|
|
29
26
|
},
|
|
30
27
|
"peerDependencies": {
|
|
31
|
-
"eslint": "9.
|
|
32
|
-
"eslint-config-standard": "17.1.0"
|
|
28
|
+
"eslint": "^9.0.0 || ^10.0.0"
|
|
33
29
|
},
|
|
34
30
|
"scripts": {
|
|
35
31
|
"test": "TEST_CLI=1 node --experimental-vm-modules test.mjs"
|