@pplancq/eslint-config 1.0.0 → 2.0.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/CHANGELOG.md +23 -0
- package/README.md +13 -2
- package/node.js +1 -1
- package/package.json +14 -10
- package/prettier.js +3 -0
- package/react.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## @pplancq/eslint-config [2.0.1](https://github.com/pplancq/dev-tools/compare/@pplancq/eslint-config@2.0.0...@pplancq/eslint-config@2.0.1) (2024-03-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Reverts
|
|
5
|
+
|
|
6
|
+
* **dev-tool:** add package-lock when execute npm postversion ([1e83fe7](https://github.com/pplancq/dev-tools/commit/1e83fe7ee8d2529ce3b85e1abb56968171ee01ff))
|
|
7
|
+
|
|
8
|
+
## @pplancq/eslint-config [2.0.0](https://github.com/pplancq/dev-tools/compare/@pplancq/eslint-config@1.0.0...@pplancq/eslint-config@2.0.0) (2024-03-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### ⚠ BREAKING CHANGES
|
|
12
|
+
|
|
13
|
+
* **eslint-config:** The default configuration no longer supports the eslint-plugin-prettier plugin.\
|
|
14
|
+
You must now install prettier and eslint-plugin-prettier separately and use the alternative configuration.\
|
|
15
|
+
Use prettier configuration, add `"eslintConfig": { "extends": ["@pplancq/eslint-config/prettier"] }` to your `package.json`.
|
|
16
|
+
* **eslint-config:** Bumps ESLint ^8.55.0 to ^8.57.0 the minimum requirements
|
|
17
|
+
* **eslint-config:** Bumps Prettier ^3.1.1 to ^3.2.5 the minimum requirements
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **eslint-config:** bump ESLint and Prettier minimum version requirements ([24f920f](https://github.com/pplancq/dev-tools/commit/24f920ff481b05b2c64541e54242adb5f598beb2))
|
|
22
|
+
* **eslint-config:** prettier made fully optional ([dff82e3](https://github.com/pplancq/dev-tools/commit/dff82e30a738a65c762e77cc49de8bca15981d08))
|
|
23
|
+
|
|
1
24
|
## @pplancq/eslint-config 1.0.0 (2024-02-05)
|
|
2
25
|
|
|
3
26
|
|
package/README.md
CHANGED
|
@@ -23,12 +23,12 @@ npx init-eslint-config
|
|
|
23
23
|
### @pplancq/eslint-config/react
|
|
24
24
|
|
|
25
25
|
To use, add `"eslintConfig": { "extends": ["@pplancq/eslint-config/react"] }` to your `package.json`.\
|
|
26
|
-
This configuration enables the rules of base, typescript,
|
|
26
|
+
This configuration enables the rules of base, typescript, react and testing-library files.
|
|
27
27
|
|
|
28
28
|
### @pplancq/eslint-config/node
|
|
29
29
|
|
|
30
30
|
To use, add `"eslintConfig": { "extends": ["@pplancq/eslint-config/node"] }` to your `package.json`.\
|
|
31
|
-
This configuration enables the rules of base
|
|
31
|
+
This configuration enables the rules of base and typescript files.
|
|
32
32
|
|
|
33
33
|
### @pplancq/eslint-config/vitest
|
|
34
34
|
|
|
@@ -39,3 +39,14 @@ This configuration enables the rules of vitest file.
|
|
|
39
39
|
|
|
40
40
|
To use, add `"eslintConfig": { "extends": ["@pplancq/eslint-config/jest"] }` to your `package.json`.\
|
|
41
41
|
This configuration enables the rules of jest file.
|
|
42
|
+
|
|
43
|
+
### @pplancq/eslint-config/prettier
|
|
44
|
+
|
|
45
|
+
To use, add `"eslintConfig": { "extends": ["@pplancq/eslint-config/prettier"] }` to your `package.json`.\
|
|
46
|
+
This configuration enables the rules of prettier file.
|
|
47
|
+
|
|
48
|
+
need add package
|
|
49
|
+
|
|
50
|
+
```shell
|
|
51
|
+
npm install --save-dev prettier eslint-plugin-prettier
|
|
52
|
+
```
|
package/node.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pplancq/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "pplancq eslint config",
|
|
6
6
|
"author": "pplancq <paul.plancq@outlook.fr>",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"./node": "./node.js",
|
|
17
17
|
"./react": "./react.js",
|
|
18
18
|
"./jest": "./jest.js",
|
|
19
|
-
"./vitest": "./vitest.js"
|
|
19
|
+
"./vitest": "./vitest.js",
|
|
20
|
+
"./prettier": "./prettier.js"
|
|
20
21
|
},
|
|
21
22
|
"bin": {
|
|
22
23
|
"init-eslint-config": "./bin/init.js"
|
|
@@ -26,8 +27,8 @@
|
|
|
26
27
|
"config"
|
|
27
28
|
],
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
30
|
-
"@typescript-eslint/parser": "^
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^7.3.0",
|
|
31
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
31
32
|
"eslint-config-airbnb": "^19.0.4",
|
|
32
33
|
"eslint-config-prettier": "^9.1.0",
|
|
33
34
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
@@ -36,20 +37,23 @@
|
|
|
36
37
|
"eslint-plugin-jest-dom": "^5.1.0",
|
|
37
38
|
"eslint-plugin-jest-extended": "^2.0.0",
|
|
38
39
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
39
|
-
"eslint-plugin-
|
|
40
|
-
"eslint-plugin-react": "^7.33.2",
|
|
40
|
+
"eslint-plugin-react": "^7.34.1",
|
|
41
41
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
42
42
|
"eslint-plugin-testing-library": "^6.2.0",
|
|
43
|
-
"eslint-plugin-vitest": "^0.3.
|
|
44
|
-
"eslint-plugin-vitest-globals": "^1.
|
|
43
|
+
"eslint-plugin-vitest": "^0.3.26",
|
|
44
|
+
"eslint-plugin-vitest-globals": "^1.5.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"
|
|
48
|
-
"eslint": "^
|
|
47
|
+
"eslint": "^8.57.0",
|
|
48
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
49
|
+
"prettier": "^3.2.5"
|
|
49
50
|
},
|
|
50
51
|
"peerDependenciesMeta": {
|
|
51
52
|
"prettier": {
|
|
52
53
|
"optional": true
|
|
54
|
+
},
|
|
55
|
+
"eslint-plugin-prettier": {
|
|
56
|
+
"optional": true
|
|
53
57
|
}
|
|
54
58
|
},
|
|
55
59
|
"volta": {
|
package/prettier.js
ADDED
package/react.js
CHANGED