@markuplint-dev/eslint-config 1.0.18 → 4.18.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
@@ -3,13 +3,27 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [1.0.18](https://github.com/markuplint/markuplint/compare/@markuplint-dev/eslint-config@1.0.17...@markuplint-dev/eslint-config@1.0.18) (2025-11-05)
6
+ # [4.18.0](https://github.com/markuplint/markuplint/compare/v4.14.1...v4.18.0) (2026-04-22)
7
7
 
8
- **Note:** Version bump only for package @markuplint-dev/eslint-config
8
+ ### Bug Fixes
9
9
 
10
+ - disable unicorn/no-array-sort rule and fix no-immediate-mutation ([bf76be2](https://github.com/markuplint/markuplint/commit/bf76be26478aa2a03528f9182cb11d123b44db44))
11
+ - resolve additional eslint-plugin-unicorn v63 errors ([e58a72c](https://github.com/markuplint/markuplint/commit/e58a72c17c97bbec522f9513b99777fac6904d64))
12
+
13
+ ## [1.0.20](https://github.com/markuplint/markuplint/compare/@markuplint-dev/eslint-config@1.0.19...@markuplint-dev/eslint-config@1.0.20) (2026-04-21)
14
+
15
+ ### Bug Fixes
10
16
 
17
+ - disable unicorn/no-array-sort rule and fix no-immediate-mutation ([bf76be2](https://github.com/markuplint/markuplint/commit/bf76be26478aa2a03528f9182cb11d123b44db44))
18
+ - resolve additional eslint-plugin-unicorn v63 errors ([e58a72c](https://github.com/markuplint/markuplint/commit/e58a72c17c97bbec522f9513b99777fac6904d64))
11
19
 
20
+ ## [1.0.19](https://github.com/markuplint/markuplint/compare/@markuplint-dev/eslint-config@1.0.18...@markuplint-dev/eslint-config@1.0.19) (2026-02-10)
12
21
 
22
+ **Note:** Version bump only for package @markuplint-dev/eslint-config
23
+
24
+ ## [1.0.18](https://github.com/markuplint/markuplint/compare/@markuplint-dev/eslint-config@1.0.17...@markuplint-dev/eslint-config@1.0.18) (2025-11-05)
25
+
26
+ **Note:** Version bump only for package @markuplint-dev/eslint-config
13
27
 
14
28
  ## [1.0.17](https://github.com/markuplint/markuplint/compare/@markuplint-dev/eslint-config@1.0.16...@markuplint-dev/eslint-config@1.0.17) (2025-08-24)
15
29
 
package/base.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { fixupPluginRules } from '@eslint/compat';
1
2
  import js from '@eslint/js';
2
3
  import { createTypeScriptImportResolver } from 'eslint-import-resolver-typescript';
3
4
  import importX from 'eslint-plugin-import-x';
@@ -17,9 +18,9 @@ export const base = [
17
18
  importX.flatConfigs.recommended,
18
19
  unicorn.configs['flat/recommended'],
19
20
  regexp.configs['flat/recommended'],
20
- sortClassMembers.configs['flat/recommended'],
21
21
  {
22
22
  plugins: {
23
+ 'sort-class-members': fixupPluginRules(sortClassMembers),
23
24
  jsdoc,
24
25
  },
25
26
  languageOptions: {
@@ -84,10 +85,11 @@ export const base = [
84
85
  'import-x/resolver-next': [createTypeScriptImportResolver()],
85
86
  },
86
87
  },
87
- // for Node.js v18
88
+ // for Node.js v18 — TODO: Re-enable in v5 when dropping Node.js 18 support (#3144)
88
89
  {
89
90
  rules: {
90
91
  'unicorn/no-array-reverse': 0,
92
+ 'unicorn/no-array-sort': 0,
91
93
  },
92
94
  },
93
95
  ];
package/eslint.config.js CHANGED
@@ -1,7 +1,7 @@
1
- import { confing } from '@markuplint-dev/eslint-config';
1
+ import { config } from '@markuplint-dev/eslint-config';
2
2
 
3
3
  export default [
4
- ...confing,
4
+ ...config,
5
5
  {
6
6
  rules: {
7
7
  'no-restricted-globals': 0,
package/index.js CHANGED
@@ -70,5 +70,6 @@ function mergeConfig(...configs) {
70
70
  },
71
71
  };
72
72
  }
73
+ // eslint-disable-next-line unicorn/no-array-reduce
73
74
  return configs.reduce(mergeConfig);
74
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint-dev/eslint-config",
3
- "version": "1.0.18",
3
+ "version": "4.18.0",
4
4
  "description": "ESLint and config for Markuplint projects",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -11,18 +11,21 @@
11
11
  "access": "public"
12
12
  },
13
13
  "dependencies": {
14
- "@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
15
- "@typescript-eslint/eslint-plugin": "8.44.0",
16
- "@typescript-eslint/parser": "8.44.0",
17
- "eslint": "9.35.0",
14
+ "@eslint-community/eslint-plugin-eslint-comments": "4.7.1",
15
+ "@eslint/compat": "2.0.5",
16
+ "@eslint/js": "10.0.1",
17
+ "@typescript-eslint/eslint-plugin": "8.59.0",
18
+ "@typescript-eslint/parser": "8.59.0",
19
+ "eslint": "10.2.1",
18
20
  "eslint-import-resolver-typescript": "4.4.4",
19
- "eslint-plugin-import-x": "4.16.1",
20
- "eslint-plugin-jsdoc": "54.7.0",
21
- "eslint-plugin-n": "17.23.0",
22
- "eslint-plugin-regexp": "2.10.0",
23
- "eslint-plugin-sort-class-members": "1.21.0",
24
- "eslint-plugin-unicorn": "60.0.0",
25
- "typescript-eslint": "8.44.0"
21
+ "eslint-plugin-import-x": "4.16.2",
22
+ "eslint-plugin-jsdoc": "62.9.0",
23
+ "eslint-plugin-n": "17.24.0",
24
+ "eslint-plugin-regexp": "3.1.0",
25
+ "eslint-plugin-sort-class-members": "1.22.1",
26
+ "eslint-plugin-unicorn": "64.0.0",
27
+ "globals": "17.5.0",
28
+ "typescript-eslint": "8.59.0"
26
29
  },
27
- "gitHead": "6213ea30269ef404f030e67bbcc7fc7443ec1060"
30
+ "gitHead": "1885af6349def3f19df975b9e9c399dd47361de1"
28
31
  }