@1stg/eslint-config 5.4.0 → 5.4.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 +12 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 5.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#141](https://github.com/1stG/configs/pull/141) [`701f349`](https://github.com/1stG/configs/commit/701f349f076622ea62ed8751e33774ea51b134a1) Thanks [@JounQin](https://github.com/JounQin)! - chore: bump eslint and plugins
|
|
8
|
+
|
|
9
|
+
## 5.4.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#133](https://github.com/1stG/configs/pull/133) [`9db70a5`](https://github.com/1stG/configs/commit/9db70a5dd136fbd6536b099863b5f617e4ffc29a) Thanks [@JounQin](https://github.com/JounQin)! - fix(eslint): incorrect prettier parser inferred for angular html files
|
|
14
|
+
|
|
15
|
+
## 5.4.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#131](https://github.com/1stG/configs/pull/131) [`1e06825`](https://github.com/1stG/configs/commit/1e068259c54b12751960dbdc8acaa07949134f0f) Thanks [@JounQin](https://github.com/JounQin)! - fix(eslint): disable prettier/prettier rule for md/mdx automatically
|
|
20
|
+
|
|
3
21
|
## 5.4.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/overrides.js
CHANGED
|
@@ -416,6 +416,12 @@ exports.angular = [
|
|
|
416
416
|
allowNullOrUndefined: true,
|
|
417
417
|
},
|
|
418
418
|
],
|
|
419
|
+
'prettier/prettier': [
|
|
420
|
+
preferPrettier ? 0 : 2,
|
|
421
|
+
{
|
|
422
|
+
parser: 'angular',
|
|
423
|
+
},
|
|
424
|
+
],
|
|
419
425
|
'spaced-comment': 0,
|
|
420
426
|
},
|
|
421
427
|
},
|
|
@@ -449,6 +455,9 @@ exports.markup = [
|
|
|
449
455
|
exports.md = {
|
|
450
456
|
files: '*.md',
|
|
451
457
|
extends: ['plugin:mdx/recommended'],
|
|
458
|
+
rules: {
|
|
459
|
+
'prettier/prettier': preferPrettier ? 0 : 2,
|
|
460
|
+
},
|
|
452
461
|
}
|
|
453
462
|
|
|
454
463
|
exports.mdx = {
|
|
@@ -456,6 +465,9 @@ exports.mdx = {
|
|
|
456
465
|
extends: [...reactJsx.extends, 'plugin:mdx/recommended'],
|
|
457
466
|
parserOptions: jsBase.parserOptions,
|
|
458
467
|
settings: { ...reactJsx.settings, ...resolveSettings },
|
|
468
|
+
rules: {
|
|
469
|
+
'prettier/prettier': preferPrettier ? 0 : 2,
|
|
470
|
+
},
|
|
459
471
|
}
|
|
460
472
|
|
|
461
473
|
const nonSourceRules = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1stg/eslint-config",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.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",
|
|
@@ -52,22 +52,22 @@
|
|
|
52
52
|
"@babel/eslint-parser": "^7.18.2",
|
|
53
53
|
"@babel/eslint-plugin": "^7.17.7",
|
|
54
54
|
"@pkgr/utils": "^2.3.0",
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "^5.30.
|
|
56
|
-
"@typescript-eslint/parser": "^5.30.
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "^5.30.6",
|
|
56
|
+
"@typescript-eslint/parser": "^5.30.6",
|
|
57
57
|
"angular-eslint-template-parser": "^0.1.1",
|
|
58
58
|
"eslint-config-prettier": "^8.5.0",
|
|
59
59
|
"eslint-config-standard": "^17.0.0",
|
|
60
60
|
"eslint-config-standard-jsx": "^11.0.0",
|
|
61
61
|
"eslint-config-standard-react": "^11.0.1",
|
|
62
62
|
"eslint-formatter-friendly": "^7.0.0",
|
|
63
|
-
"eslint-import-resolver-typescript": "^3.2.
|
|
63
|
+
"eslint-import-resolver-typescript": "^3.2.7",
|
|
64
64
|
"eslint-plugin-css": "^0.6.0",
|
|
65
65
|
"eslint-plugin-es-x": "^5.2.1",
|
|
66
66
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
67
67
|
"eslint-plugin-import": "^2.26.0",
|
|
68
|
-
"eslint-plugin-jest": "^26.
|
|
68
|
+
"eslint-plugin-jest": "^26.6.0",
|
|
69
69
|
"eslint-plugin-jsdoc": "^39.3.3",
|
|
70
|
-
"eslint-plugin-json-schema-validator": "^3.2.
|
|
70
|
+
"eslint-plugin-json-schema-validator": "^3.2.5",
|
|
71
71
|
"eslint-plugin-jsonc": "^2.3.1",
|
|
72
72
|
"eslint-plugin-markup": "^0.10.0",
|
|
73
73
|
"eslint-plugin-mdx": "^2.0.1",
|