@1stg/eslint-config 5.2.1 → 5.2.4

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#113](https://github.com/1stG/configs/pull/113) [`cae8e34`](https://github.com/1stG/configs/commit/cae8e34da5f1162b3a9bd49dad2b85114e84d0e4) Thanks [@JounQin](https://github.com/JounQin)! - fix(eslint): remove plugin:jsonc/auto-config
8
+
9
+ ## 5.2.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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
14
+
15
+ ## 5.2.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#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
20
+
3
21
  ## 5.2.1
4
22
 
5
23
  ### Patch 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,10 +489,19 @@ exports.config = exports.configs = {
488
489
 
489
490
  exports.json = {
490
491
  files: ['.*rc', '*.json'],
491
- excludedFiles: ['.browserslistrc', '.npmrc', '.nvmrc', '.yarnrc', '.*shrc'],
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
- // eslint-disable-next-line sonarjs/no-duplicate-string
494
- 'plugin:jsonc/auto-config',
495
505
  'plugin:jsonc/recommended-with-json',
496
506
  // eslint-disable-next-line sonarjs/no-duplicate-string
497
507
  'plugin:json-schema-validator/recommended',
@@ -510,7 +520,6 @@ exports.jsonc = {
510
520
  'tsconfig.*.json',
511
521
  ],
512
522
  extends: [
513
- 'plugin:jsonc/auto-config',
514
523
  'plugin:jsonc/recommended-with-jsonc',
515
524
  'plugin:json-schema-validator/recommended',
516
525
  'plugin:jsonc/prettier',
@@ -520,7 +529,6 @@ exports.jsonc = {
520
529
  exports.json5 = {
521
530
  files: '*.json5',
522
531
  extends: [
523
- 'plugin:jsonc/auto-config',
524
532
  'plugin:jsonc/recommended-with-json5',
525
533
  'plugin:json-schema-validator/recommended',
526
534
  'plugin:jsonc/prettier',
package/package.json CHANGED
@@ -1,10 +1,42 @@
1
1
  {
2
2
  "name": "@1stg/eslint-config",
3
- "version": "5.2.1",
3
+ "version": "5.2.4",
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
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"