@1stg/eslint-config 9.0.2 → 9.0.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,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#350](https://github.com/1stG/configs/pull/350) [`fe89f4a`](https://github.com/1stG/configs/commit/fe89f4a31b0ea1689a8b6bc8a8485b730e403c76) Thanks [@JounQin](https://github.com/JounQin)! - fix: disable `jsdoc/tag-lines` which conflicts with `prettier-plugin-jsdoc`
8
+
9
+ ## 9.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`8851c03`](https://github.com/1stG/configs/commit/8851c037975d2b2152c9f8875a1380f49cfc57a5) Thanks [@JounQin](https://github.com/JounQin)! - fix(eslint-config): `plugins` could not be `undefined`
14
+
3
15
  ## 9.0.2
4
16
 
5
17
  ### Patch Changes
package/js-base.js CHANGED
@@ -26,13 +26,15 @@ export const jsBase = {
26
26
  : { requireConfigFile: false },
27
27
  }
28
28
  : {},
29
- plugins: isBabelAvailable
30
- ? {
31
- '@babel': /** @type {Omit<TSESLint.FlatConfig.Plugin, 'configs'>} */ (
32
- tryRequirePkg('@babel/eslint-plugin')
33
- ),
34
- }
35
- : undefined,
29
+ plugins: /** @type {TSESLint.FlatConfig.Plugins} */ (
30
+ isBabelAvailable
31
+ ? {
32
+ '@babel': /** @type {Omit<TSESLint.FlatConfig.Plugin, 'configs'>} */ (
33
+ tryRequirePkg('@babel/eslint-plugin')
34
+ ),
35
+ }
36
+ : {}
37
+ ),
36
38
  rules: {
37
39
  camelcase: [2, { properties: 'never', ignoreDestructuring: true }],
38
40
  ...(isBabelAvailable && {
package/js.js CHANGED
@@ -16,7 +16,7 @@ export const js = tseslint.config({
16
16
  ...jsBase.rules,
17
17
  'jsdoc/require-jsdoc': 0,
18
18
  'jsdoc/require-param-description': 0,
19
- 'jsdoc/tag-lines': [1, 'never', { startLines: 1 }],
19
+ 'jsdoc/tag-lines': 0, // conflict with `prettier-plugin-jsdoc`
20
20
  },
21
21
  settings: isTsAvailable ? { jsdoc: { mode: 'typescript' } } : undefined,
22
22
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1stg/eslint-config",
3
- "version": "9.0.2",
3
+ "version": "9.0.4",
4
4
  "type": "module",
5
5
  "description": "Personal but Shareable ESLint Configuration for all 1stG.me projects",
6
6
  "repository": "git+https://github.com/1stG/configs.git",