@1stg/eslint-config 5.1.0 → 5.2.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 +18 -0
- package/overrides.js +22 -3
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 5.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
## 5.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
15
|
+
## 5.2.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#102](https://github.com/1stG/configs/pull/102) [`ca3a9ff`](https://github.com/1stG/configs/commit/ca3a9ff0bdd1ee5a2bfe5f6f32aedeb5e99f786b) Thanks [@JounQin](https://github.com/JounQin)! - feat(eslint): enable json-schema-validator for toml and yaml
|
|
20
|
+
|
|
3
21
|
## 5.1.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',
|
|
@@ -529,12 +541,19 @@ exports.json5 = {
|
|
|
529
541
|
|
|
530
542
|
exports.toml = {
|
|
531
543
|
files: '*.toml',
|
|
532
|
-
extends: [
|
|
544
|
+
extends: [
|
|
545
|
+
'plugin:toml/recommended',
|
|
546
|
+
'plugin:json-schema-validator/recommended',
|
|
547
|
+
],
|
|
533
548
|
}
|
|
534
549
|
|
|
535
550
|
exports.yml = exports.yaml = {
|
|
536
551
|
files: ['*.yml', '*.yaml'],
|
|
537
|
-
extends: [
|
|
552
|
+
extends: [
|
|
553
|
+
'plugin:yml/recommended',
|
|
554
|
+
'plugin:json-schema-validator/recommended',
|
|
555
|
+
'plugin:yml/prettier',
|
|
556
|
+
],
|
|
538
557
|
}
|
|
539
558
|
|
|
540
559
|
exports.overrides = []
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1stg/eslint-config",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.2",
|
|
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
8
|
"license": "MIT",
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": "^12.20 || ^14.18.0 || >=16.0.0"
|
|
10
|
+
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"eslint": ">=6.0.0"
|
|
@@ -19,22 +19,22 @@
|
|
|
19
19
|
"@babel/eslint-parser": "^7.18.2",
|
|
20
20
|
"@babel/eslint-plugin": "^7.17.7",
|
|
21
21
|
"@pkgr/utils": "^2.2.0",
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "^5.30.
|
|
23
|
-
"@typescript-eslint/parser": "^5.30.
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^5.30.3",
|
|
23
|
+
"@typescript-eslint/parser": "^5.30.3",
|
|
24
24
|
"angular-eslint-template-parser": "^0.1.1",
|
|
25
25
|
"eslint-config-prettier": "^8.5.0",
|
|
26
26
|
"eslint-config-standard": "^17.0.0",
|
|
27
27
|
"eslint-config-standard-jsx": "^11.0.0",
|
|
28
28
|
"eslint-config-standard-react": "^11.0.1",
|
|
29
29
|
"eslint-formatter-friendly": "^7.0.0",
|
|
30
|
-
"eslint-import-resolver-typescript": "^3.1.
|
|
30
|
+
"eslint-import-resolver-typescript": "^3.1.4",
|
|
31
31
|
"eslint-plugin-css": "^0.6.0",
|
|
32
32
|
"eslint-plugin-es-x": "^5.2.1",
|
|
33
33
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
34
34
|
"eslint-plugin-import": "^2.26.0",
|
|
35
35
|
"eslint-plugin-jest": "^26.5.3",
|
|
36
36
|
"eslint-plugin-jsdoc": "^39.3.3",
|
|
37
|
-
"eslint-plugin-json-schema-validator": "^3.0
|
|
37
|
+
"eslint-plugin-json-schema-validator": "^3.1.0",
|
|
38
38
|
"eslint-plugin-jsonc": "^2.3.0",
|
|
39
39
|
"eslint-plugin-markup": "^0.9.0",
|
|
40
40
|
"eslint-plugin-mdx": "^2.0.1",
|