@szum-tech/eslint-config 2.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/README.md +14 -8
- package/package.json +21 -22
package/README.md
CHANGED
|
@@ -2,20 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
> Github
|
|
4
4
|
>
|
|
5
|
-
>  >
|
|
5
|
+
>  >
|
|
6
|
+
> [](https://github.com/JanSzewczyk/eslint-config-szum-tech/pulls) >
|
|
7
|
+
> [](https://github.com/JanSzewczyk/eslint-config-szum-tech/issues) >
|
|
8
|
+
> 
|
|
6
9
|
|
|
7
10
|
> Github Actions
|
|
8
11
|
>
|
|
9
|
-
> [](https://github.com/JanSzewczyk/eslint-config-szum-tech/actions/workflows/publish.yml) >
|
|
12
|
+
> [](https://github.com/JanSzewczyk/eslint-config-szum-tech/actions/workflows/publish.yml) >
|
|
13
|
+
> [](https://github.com/JanSzewczyk/eslint-config-szum-tech/actions/workflows/test.yml) >
|
|
14
|
+
> [](https://github.com/JanSzewczyk/eslint-config-szum-tech/actions/workflows/codeql.yml)
|
|
10
15
|
|
|
11
16
|
> NPM
|
|
12
17
|
>
|
|
13
|
-
> [](https://www.npmjs.com/package/@szum-tech/eslint-config-szum-tech) >
|
|
18
|
+
> [](https://www.npmjs.com/package/@szum-tech/eslint-config-szum-tech) >
|
|
19
|
+
> 
|
|
14
20
|
|
|
15
21
|
[](https://github.com/JanSzewczyk/eslint-config-szum-tech/blob/main/LICENSE)
|
|
16
22
|
|
|
17
|
-
These are settings for ESLint working
|
|
18
|
-
|
|
23
|
+
These are settings for ESLint working as
|
|
24
|
+
[shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html).
|
|
19
25
|
|
|
20
26
|
## What it does 🤔
|
|
21
27
|
|
|
@@ -47,9 +53,9 @@ npx install-peerdeps --dev @szum-tech/eslint-config-szum-tech
|
|
|
47
53
|
## Usage
|
|
48
54
|
|
|
49
55
|
Once the `@szum-tech/eslint-config-szum-tech` package is installed, you can use it by specifying
|
|
50
|
-
`@szum-tech/eslint-config-szum-tech` in
|
|
51
|
-
|
|
52
|
-
|
|
56
|
+
`@szum-tech/eslint-config-szum-tech` in the
|
|
57
|
+
[extends](https://eslint.org/docs/user-guide/configuring/#extending-configuration-files) section of your
|
|
58
|
+
[ESLint configuration](https://eslint.org/docs/user-guide/configuring/).
|
|
53
59
|
|
|
54
60
|
### Set configuration
|
|
55
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@szum-tech/eslint-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "ESLint configuration for TypeScript projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -27,51 +27,50 @@
|
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
29
|
"lint": "eslint .",
|
|
30
|
-
"lint:ci": "eslint .
|
|
30
|
+
"lint:ci": "eslint . -o eslint-results.sarif -f @microsoft/eslint-formatter-sarif",
|
|
31
31
|
"lint:fix": "eslint . --fix",
|
|
32
32
|
"lint:inspect": "npx @eslint/config-inspector@latest",
|
|
33
33
|
"prettier:check": "prettier --check .",
|
|
34
|
-
"prettier:write": "prettier --write ."
|
|
35
|
-
"semantic-release": "semantic-release",
|
|
36
|
-
"test": "node test/test.test.js"
|
|
34
|
+
"prettier:write": "prettier --write ."
|
|
37
35
|
},
|
|
38
36
|
"dependencies": {
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
37
|
+
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
|
38
|
+
"@next/eslint-plugin-next": "^15.0.4",
|
|
39
|
+
"@vitest/eslint-plugin": "^1.1.14",
|
|
41
40
|
"eslint-config-prettier": "^9.1.0",
|
|
42
41
|
"eslint-plugin-import": "^2.31.0",
|
|
43
42
|
"eslint-plugin-jest-dom": "^5.4.0",
|
|
44
43
|
"eslint-plugin-playwright": "^2.0.1",
|
|
45
44
|
"eslint-plugin-react": "^7.37.1",
|
|
46
|
-
"eslint-plugin-react-hooks": "^5.
|
|
45
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
47
46
|
"eslint-plugin-storybook": "^0.11.0",
|
|
48
47
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
49
|
-
"eslint-plugin-testing-library": "^
|
|
50
|
-
"globals": "^15.
|
|
51
|
-
"typescript-eslint": "^8.
|
|
48
|
+
"eslint-plugin-testing-library": "^7.1.1",
|
|
49
|
+
"globals": "^15.13.0",
|
|
50
|
+
"typescript-eslint": "^8.17.0"
|
|
52
51
|
},
|
|
53
52
|
"devDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"@szum-tech/
|
|
56
|
-
"
|
|
57
|
-
"
|
|
53
|
+
"@microsoft/eslint-formatter-sarif": "^3.1.0",
|
|
54
|
+
"@szum-tech/prettier-config": "^1.4.1",
|
|
55
|
+
"@szum-tech/semantic-release-config": "^2.1.1",
|
|
56
|
+
"eslint": "^9.16.0",
|
|
57
|
+
"prettier": "^3.4.2",
|
|
58
58
|
"semantic-release": "^24.2.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@next/eslint-plugin-next": "^15.0.
|
|
62
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
63
|
-
"eslint": "^9.
|
|
61
|
+
"@next/eslint-plugin-next": "^15.0.4",
|
|
62
|
+
"@vitest/eslint-plugin": "^1.1.14",
|
|
63
|
+
"eslint": "^9.16.0",
|
|
64
64
|
"eslint-config-prettier": "^9.1.0",
|
|
65
65
|
"eslint-plugin-import": "^2.31.0",
|
|
66
66
|
"eslint-plugin-jest-dom": "^5.4.0",
|
|
67
67
|
"eslint-plugin-playwright": "^2.0.1",
|
|
68
68
|
"eslint-plugin-react": "^7.37.1",
|
|
69
|
-
"eslint-plugin-react-hooks": "^5.
|
|
69
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
70
70
|
"eslint-plugin-storybook": "^0.11.0",
|
|
71
71
|
"eslint-plugin-tailwindcss": "^3.17.5",
|
|
72
|
-
"eslint-plugin-testing-library": "^
|
|
73
|
-
"globals": "^15.
|
|
74
|
-
"typescript-eslint": "^8.15.0"
|
|
72
|
+
"eslint-plugin-testing-library": "^7.1.1",
|
|
73
|
+
"globals": "^15.13.0"
|
|
75
74
|
},
|
|
76
75
|
"publishConfig": {
|
|
77
76
|
"access": "public"
|