@nice-move/eslint-config-base 0.12.0 → 0.12.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/index.mjs CHANGED
@@ -6,8 +6,6 @@ import js from '@eslint/js';
6
6
  import { recommended as html } from '@nice-move/eslint-plugin-html/lib/configs-next.mjs';
7
7
  import airbnb from 'eslint-config-airbnb-base';
8
8
  import prettier from 'eslint-config-prettier';
9
-
10
-
11
9
  import { getPkg, readJson } from 'settingz';
12
10
 
13
11
  import base from './lib/base.mjs';
@@ -44,6 +42,7 @@ const compat = new FlatCompat({
44
42
 
45
43
  const old = compat.config(airbnb).map((item) => {
46
44
  delete item.plugins;
45
+
47
46
  return item;
48
47
  });
49
48
 
package/lib/import.mjs CHANGED
@@ -59,6 +59,7 @@ export default [
59
59
  'import/order': 0,
60
60
  'import/prefer-default-export': 0,
61
61
  'import/no-cycle': 0,
62
+ 'import/no-duplicates': ['warn', { considerQueryString: true }],
62
63
  },
63
64
  settings: {
64
65
  ...Vscode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-move/eslint-config-base",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "A `eslint` config for best practice",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -32,12 +32,12 @@
32
32
  "bugs": {
33
33
  "url": "https://github.com/nice-move/nice-move/issues"
34
34
  },
35
- "type": "module",
36
35
  "main": "index.mjs",
36
+ "type": "module",
37
37
  "dependencies": {
38
38
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
39
- "@eslint/js": "^10.0.0",
40
39
  "@eslint/eslintrc": "^3.2.0",
40
+ "@eslint/js": "^10.0.0",
41
41
  "@nice-move/eslint-plugin-html": "^0.1.1",
42
42
  "eslint-config-airbnb-base": "^15.0.0",
43
43
  "eslint-config-prettier": "^9.1.0",
@@ -51,7 +51,7 @@
51
51
  "globals": "^15.14.0",
52
52
  "resolve.exports": "^2.0.3",
53
53
  "settingz": "^0.2.0",
54
- "typescript-eslint": "^8.19.0"
54
+ "typescript-eslint": "^8.19.1"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "eslint": "^9.17.0"