@1stg/eslint-config 10.3.0 → 10.3.2
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 +12 -0
- package/base.js +1 -0
- package/package.json +5 -5
- package/react.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 10.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#404](https://github.com/1stG/configs/pull/404) [`97e0dc9`](https://github.com/1stG/configs/commit/97e0dc9af5859f853c9dcfb0c65a6273d5acc22c) Thanks [@JounQin](https://github.com/JounQin)! - Add ignore pattern for .dsh files in ESLint config
|
|
8
|
+
|
|
9
|
+
## 10.3.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#389](https://github.com/1stG/configs/pull/389) [`9545a06`](https://github.com/1stG/configs/commit/9545a0630f2922d92598c4770ebac00380e45945) Thanks [@renovate](https://github.com/apps/renovate)! - fix(eslint-config): peer dependencies versions
|
|
14
|
+
|
|
3
15
|
## 10.3.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/base.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1stg/eslint-config",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Personal but Shareable ESLint Configuration for all 1stG.me projects",
|
|
6
6
|
"repository": "git+https://github.com/1stG/configs.git",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"@babel/eslint-parser": "^7.0.0",
|
|
25
25
|
"@babel/eslint-plugin": "^7.0.0",
|
|
26
|
-
"@eslint-react/eslint-plugin": "
|
|
26
|
+
"@eslint-react/eslint-plugin": ">=1.0.0",
|
|
27
27
|
"@vitest/eslint-plugin": "^1.0.0",
|
|
28
28
|
"angular-eslint": ">=18.0.0",
|
|
29
29
|
"angular-eslint-template-parser": "^0.1.0",
|
|
30
30
|
"eslint": ">=8.0.0",
|
|
31
31
|
"eslint-plugin-jest": ">=28.0.0",
|
|
32
|
-
"eslint-plugin-node-dependencies": "^1.0.0",
|
|
33
|
-
"eslint-plugin-react-hooks": "
|
|
34
|
-
"eslint-plugin-react-refresh": "^0.4.0",
|
|
32
|
+
"eslint-plugin-node-dependencies": "^1.3.0 || ^2.0.0",
|
|
33
|
+
"eslint-plugin-react-hooks": ">=5.0.0",
|
|
34
|
+
"eslint-plugin-react-refresh": "^0.4.26 || ^0.5.0",
|
|
35
35
|
"eslint-plugin-vue": "^10.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependenciesMeta": {
|
package/react.js
CHANGED
|
@@ -17,13 +17,13 @@ export const reactJsx = tseslint.config({
|
|
|
17
17
|
})
|
|
18
18
|
|
|
19
19
|
const reactHooks_ = tryRequirePkg('eslint-plugin-react-hooks')
|
|
20
|
-
const reactRefresh = tryRequirePkg('eslint-plugin-react-refresh')
|
|
20
|
+
const reactRefresh = tryRequirePkg('eslint-plugin-react-refresh', true)
|
|
21
21
|
|
|
22
22
|
export const react = tseslint.config(
|
|
23
23
|
{
|
|
24
24
|
name: '@1stg/react',
|
|
25
25
|
files: ['**/*.{js,jsx,tsx}'],
|
|
26
|
-
extends: [reactRefresh?.configs.recommended, reactJsx].filter(Boolean),
|
|
26
|
+
extends: [reactRefresh?.configs.recommended(), reactJsx].filter(Boolean),
|
|
27
27
|
rules: {
|
|
28
28
|
'@eslint-react/avoid-shorthand-boolean': 2,
|
|
29
29
|
// '@eslint-react/naming-convention/handler-prop': [
|