@1stg/eslint-config 5.2.0 → 5.2.3
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 +18 -0
- package/overrides.js +13 -1
- package/package.json +37 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 5.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#111](https://github.com/1stG/configs/pull/111) [`eb18aaa`](https://github.com/1stG/configs/commit/eb18aaa48903fcc5eb7bf04b34a5b06858936aa7) Thanks [@JounQin](https://github.com/JounQin)! - chore: add donate and funding fields
|
|
8
|
+
|
|
9
|
+
## 5.2.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#109](https://github.com/1stG/configs/pull/109) [`d648751`](https://github.com/1stG/configs/commit/d6487513888f70c553a6329cea52f46c83e48386) Thanks [@JounQin](https://github.com/JounQin)! - fix: exclude some json files which are jsonc actually
|
|
14
|
+
|
|
15
|
+
## 5.2.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#107](https://github.com/1stG/configs/pull/107) [`720e694`](https://github.com/1stG/configs/commit/720e694b2f7d9173738a4338b94fa455f70dabe3) Thanks [@JounQin](https://github.com/JounQin)! - chore: add website info in author field
|
|
20
|
+
|
|
3
21
|
## 5.2.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/overrides.js
CHANGED
|
@@ -68,6 +68,7 @@ exports.js = {
|
|
|
68
68
|
const project =
|
|
69
69
|
tryFile(path.resolve('tsconfig.eslint.json')) ||
|
|
70
70
|
tryFile(path.resolve('tsconfig.base.json')) ||
|
|
71
|
+
// eslint-disable-next-line sonarjs/no-duplicate-string
|
|
71
72
|
tryFile(path.resolve('tsconfig.json')) ||
|
|
72
73
|
tryPkg('@1stg/tsconfig')
|
|
73
74
|
|
|
@@ -488,7 +489,18 @@ exports.config = exports.configs = {
|
|
|
488
489
|
|
|
489
490
|
exports.json = {
|
|
490
491
|
files: ['.*rc', '*.json'],
|
|
491
|
-
excludedFiles: [
|
|
492
|
+
excludedFiles: [
|
|
493
|
+
'.browserslistrc',
|
|
494
|
+
'.npmrc',
|
|
495
|
+
'.nvmrc',
|
|
496
|
+
'.yarnrc',
|
|
497
|
+
'.*shrc',
|
|
498
|
+
'angular.json',
|
|
499
|
+
'jsconfig.json',
|
|
500
|
+
'settings.json',
|
|
501
|
+
'tsconfig.json',
|
|
502
|
+
'tsconfig.*.json',
|
|
503
|
+
],
|
|
492
504
|
extends: [
|
|
493
505
|
// eslint-disable-next-line sonarjs/no-duplicate-string
|
|
494
506
|
'plugin:jsonc/auto-config',
|
package/package.json
CHANGED
|
@@ -1,10 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1stg/eslint-config",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.3",
|
|
4
4
|
"description": "Personal but Shareable ESLint Configuration for all 1stG.me projects.",
|
|
5
5
|
"repository": "git+https://github.com/1stG/configs.git",
|
|
6
6
|
"homepage": "https://github.com/1stG/configs/tree/master/packages/eslint-config",
|
|
7
|
-
"author": "JounQin <admin@1stg.me>",
|
|
7
|
+
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
|
|
8
|
+
"donate": {
|
|
9
|
+
"recipients": [
|
|
10
|
+
{
|
|
11
|
+
"name": "unts",
|
|
12
|
+
"platform": "opencollective",
|
|
13
|
+
"address": "https://opencollective.com/unts",
|
|
14
|
+
"weight": 60
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "rxts",
|
|
18
|
+
"platform": "opencollective",
|
|
19
|
+
"address": "https://opencollective.com/rxts",
|
|
20
|
+
"weight": 20
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "1stG",
|
|
24
|
+
"email": "i@1stg.me",
|
|
25
|
+
"weight": 20,
|
|
26
|
+
"platforms": [
|
|
27
|
+
{
|
|
28
|
+
"platform": "opencollective",
|
|
29
|
+
"address": "https://opencollective.com/1stG"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"platform": "patreon",
|
|
33
|
+
"address": "https://www.patreon.com/1stG"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"funding": "https://www.patreon.com/1stG",
|
|
8
40
|
"license": "MIT",
|
|
9
41
|
"engines": {
|
|
10
42
|
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
|
|
@@ -19,15 +51,15 @@
|
|
|
19
51
|
"@babel/eslint-parser": "^7.18.2",
|
|
20
52
|
"@babel/eslint-plugin": "^7.17.7",
|
|
21
53
|
"@pkgr/utils": "^2.2.0",
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^5.30.
|
|
23
|
-
"@typescript-eslint/parser": "^5.30.
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^5.30.3",
|
|
55
|
+
"@typescript-eslint/parser": "^5.30.3",
|
|
24
56
|
"angular-eslint-template-parser": "^0.1.1",
|
|
25
57
|
"eslint-config-prettier": "^8.5.0",
|
|
26
58
|
"eslint-config-standard": "^17.0.0",
|
|
27
59
|
"eslint-config-standard-jsx": "^11.0.0",
|
|
28
60
|
"eslint-config-standard-react": "^11.0.1",
|
|
29
61
|
"eslint-formatter-friendly": "^7.0.0",
|
|
30
|
-
"eslint-import-resolver-typescript": "^3.1.
|
|
62
|
+
"eslint-import-resolver-typescript": "^3.1.4",
|
|
31
63
|
"eslint-plugin-css": "^0.6.0",
|
|
32
64
|
"eslint-plugin-es-x": "^5.2.1",
|
|
33
65
|
"eslint-plugin-eslint-comments": "^3.2.0",
|