@1stg/eslint-config 8.4.0 → 8.5.0

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,18 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#336](https://github.com/1stG/configs/pull/336) [`fa39ecf`](https://github.com/1stG/configs/commit/fa39ecf3bc7982e7e4172952721f8745991f4739) Thanks [@JounQin](https://github.com/JounQin)! - feat: enable `eslint-plugin-markup` again
8
+
9
+ ### Patch Changes
10
+
11
+ - [#336](https://github.com/1stG/configs/pull/336) [`fa39ecf`](https://github.com/1stG/configs/commit/fa39ecf3bc7982e7e4172952721f8745991f4739) Thanks [@JounQin](https://github.com/JounQin)! - chore: bump all (dev) deps
12
+
13
+ - Updated dependencies [[`fa39ecf`](https://github.com/1stG/configs/commit/fa39ecf3bc7982e7e4172952721f8745991f4739)]:
14
+ - @1stg/config@1.0.4
15
+
3
16
  ## 8.4.0
4
17
 
5
18
  ### Minor Changes
package/README.md CHANGED
@@ -2,15 +2,17 @@
2
2
 
3
3
  Personal but Shareable ESLint Configuration for all 1stG.me projects
4
4
 
5
- [![Sponsors](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)
5
+ ## Sponsors and Backers
6
6
 
7
- ## Sponsors
7
+ [![Sponsors and Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)
8
+
9
+ ### Sponsors
8
10
 
9
11
  | 1stG | RxTS | UnTS |
10
12
  | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
11
13
  | [![1stG Open Collective sponsors](https://opencollective.com/1stG/organizations.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective sponsors](https://opencollective.com/rxts/organizations.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective sponsors](https://opencollective.com/unts/organizations.svg)](https://opencollective.com/unts) |
12
14
 
13
- ## Backers
15
+ ### Backers
14
16
 
15
17
  | 1stG | RxTS | UnTS |
16
18
  | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
package/overrides.js CHANGED
@@ -20,6 +20,7 @@ import importX from 'eslint-plugin-import-x'
20
20
  import jest_ from 'eslint-plugin-jest'
21
21
  import jsdoc from 'eslint-plugin-jsdoc'
22
22
  import jsonc_ from 'eslint-plugin-jsonc'
23
+ import * as markup_ from 'eslint-plugin-markup'
23
24
  import * as mdx_ from 'eslint-plugin-mdx'
24
25
  import * as reactHooks_ from 'eslint-plugin-react-hooks'
25
26
  import toml_ from 'eslint-plugin-toml'
@@ -448,7 +449,7 @@ export const angular = tseslint.config(
448
449
  files: ['**/*.html'],
449
450
  extends: [
450
451
  angular_.configs.templateRecommended,
451
- // 'plugin:markup/recommended',
452
+ markup_.configs.flatRecommended,
452
453
  prettierExtends,
453
454
  ],
454
455
  languageOptions: {
@@ -473,26 +474,26 @@ export const angular = tseslint.config(
473
474
  },
474
475
  )
475
476
 
476
- /* eslint-disable sonarjs/no-commented-code */
477
- // export const markup = [
478
- // {
479
- // files: '**/*.html',
480
- // extends: 'plugin:markup/recommended',
481
- // rules: {
482
- // 'prettier/prettier': [
483
- // preferPrettier ? 0 : 2,
484
- // {
485
- // parser: 'html',
486
- // },
487
- // ],
488
- // },
489
- // },
490
- // {
491
- // files: '**/*.pug',
492
- // extends: ['plugin:markup/recommended', ...prettierExtends],
493
- // },
494
- // ]
495
- /* eslint-enable sonarjs/no-commented-code */
477
+ export const markup = tseslint.config(
478
+ {
479
+ name: '@1stg/markup-html',
480
+ files: ['**/*.html'],
481
+ extends: [markup_.configs.flatRecommended],
482
+ rules: {
483
+ 'prettier/prettier': [
484
+ preferPrettier ? 0 : 2,
485
+ {
486
+ parser: 'html',
487
+ },
488
+ ],
489
+ },
490
+ },
491
+ {
492
+ name: '@1stg/markup-pug',
493
+ files: ['**/*.pug'],
494
+ extends: [markup_.configs.flatRecommended, ...prettierExtends],
495
+ },
496
+ )
496
497
 
497
498
  export const md = tseslint.config(
498
499
  {
@@ -641,7 +642,7 @@ export const overrides = tseslint.config(
641
642
  isTsAvailable ? ts : [],
642
643
  isReactAvailable ? react : [],
643
644
  // The order matters, the later should to be preferred
644
- // markup,
645
+ markup,
645
646
  isPkgAvailable('vue') ? vue : [],
646
647
  isPkgAvailable('@angular/core') ? angular : [],
647
648
  md,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1stg/eslint-config",
3
- "version": "8.4.0",
3
+ "version": "8.5.0",
4
4
  "type": "module",
5
5
  "description": "Personal but Shareable ESLint Configuration for all 1stG.me projects",
6
6
  "repository": "https://github.com/1stG/configs.git",
@@ -24,22 +24,22 @@
24
24
  "eslint": ">=8.0.0"
25
25
  },
26
26
  "dependencies": {
27
- "@1stg/config": "^1.0.3",
27
+ "@1stg/config": "^1.0.4",
28
28
  "@babel/eslint-parser": "^7.27.0",
29
29
  "@babel/eslint-plugin": "^7.27.0",
30
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
31
- "@eslint-react/eslint-plugin": "^1.40.3",
30
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
31
+ "@eslint-react/eslint-plugin": "^1.46.0",
32
32
  "@eslint/js": "^9.24.0",
33
- "@pkgr/utils": "^3.1.0",
34
- "@typescript-eslint/eslint-plugin": "^8.29.0",
35
- "@typescript-eslint/parser": "^8.29.0",
36
- "@vitest/eslint-plugin": "^1.1.39",
33
+ "@pkgr/utils": "^3.1.1",
34
+ "@typescript-eslint/eslint-plugin": "^8.29.1",
35
+ "@typescript-eslint/parser": "^8.29.1",
36
+ "@vitest/eslint-plugin": "^1.1.42",
37
37
  "angular-eslint": "^19.3.0",
38
38
  "angular-eslint-template-parser": "^0.1.3",
39
- "eslint-config-prettier": "^10.1.1",
40
- "eslint-import-resolver-typescript": "^4.3.1",
39
+ "eslint-config-prettier": "^10.1.2",
40
+ "eslint-import-resolver-typescript": "^4.3.2",
41
41
  "eslint-plugin-css": "^0.11.0",
42
- "eslint-plugin-import-x": "^4.10.1",
42
+ "eslint-plugin-import-x": "^4.10.3",
43
43
  "eslint-plugin-jest": "^28.11.0",
44
44
  "eslint-plugin-jsdoc": "^50.6.9",
45
45
  "eslint-plugin-jsonc": "^2.20.0",
@@ -57,7 +57,7 @@
57
57
  "eslint-plugin-vue": "^10.0.0",
58
58
  "eslint-plugin-yml": "^1.17.0",
59
59
  "globals": "^16.0.0",
60
- "typescript-eslint": "^8.29.0"
60
+ "typescript-eslint": "^8.29.1"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public"