@alexlit/lint-kit 191.0.0 → 191.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/lint-kit",
3
- "version": "191.0.0",
3
+ "version": "191.0.1",
4
4
  "private": false,
5
5
  "description": "Preset of configuration files and dependencies for linting web applications (designed for Vue.js with TypeScript)",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "143.0.0",
3
+ "version": "143.0.2",
4
4
  "private": false,
5
5
  "description": "Sharable ESLint configuration",
6
6
  "keywords": [
@@ -48,7 +48,7 @@
48
48
  "@vitest/eslint-plugin": "^1.6.20",
49
49
  "eslint": "^10.5.0",
50
50
  "eslint-config-prettier": "^10.1.8",
51
- "eslint-plugin-jsdoc": "^63.0.5",
51
+ "eslint-plugin-jsdoc": "^63.0.6",
52
52
  "eslint-plugin-perfectionist": "^5.9.1",
53
53
  "eslint-plugin-prettier": "^5.5.6",
54
54
  "eslint-plugin-regexp": "^3.1.0",
@@ -5,10 +5,11 @@ import { FILES } from '../presets/base.js';
5
5
 
6
6
  /** @see [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) */
7
7
  export const unicorn = defineConfig([
8
- { files: FILES, ...plugin.configs.all },
8
+ { files: FILES, ...plugin.configs.recommended },
9
9
  {
10
10
  files: FILES,
11
11
  rules: {
12
+ 'unicorn/comment-content': 'off', // not stable
12
13
  'unicorn/consistent-function-scoping': [
13
14
  'error',
14
15
  { checkArrowFunctions: false },
@@ -17,10 +18,18 @@ export const unicorn = defineConfig([
17
18
  'unicorn/no-asterisk-prefix-in-documentation-comments': 'off',
18
19
  'unicorn/no-empty-file': 'off',
19
20
  'unicorn/no-for-each': 'off',
21
+ 'unicorn/no-this-outside-of-class': 'off', // used in setters/getters
22
+ 'unicorn/no-top-level-side-effects': 'off', // Vue.js specific
23
+ 'unicorn/no-unused-properties': 'off', // don't respect local keys
24
+ 'unicorn/prefer-dom-node-html-methods': 'off', // Safari not supports setHTML()
20
25
  'unicorn/prefer-export-from': ['error', { checkUsedVariables: true }],
26
+ 'unicorn/prefer-https': 'off', // SVG need HTTP
21
27
  'unicorn/prefer-import-meta-properties': 'warn',
28
+ 'unicorn/prefer-iterator-concat': 'off', // ES2026 only
22
29
  'unicorn/prefer-module': 'warn',
23
30
  'unicorn/prefer-node-protocol': 'warn',
31
+ 'unicorn/prefer-temporal': 'off', // ES2026 only
32
+ 'unicorn/prefer-type-literal-last': 'off', // perfectionist/sort-intersection-types
24
33
  'unicorn/prevent-abbreviations': [
25
34
  'warn',
26
35
  {