@1stg/eslint-config 5.2.1 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 5.2.1
4
10
 
5
11
  ### 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,7 +489,18 @@ 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
505
  // eslint-disable-next-line sonarjs/no-duplicate-string
494
506
  'plugin:jsonc/auto-config',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1stg/eslint-config",
3
- "version": "5.2.1",
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",