@nice-move/eslint-config-base 0.14.3 → 0.15.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/lib/unicorn.mjs CHANGED
@@ -11,6 +11,7 @@ export default [
11
11
  'unicorn/no-array-for-each': 'off',
12
12
  'unicorn/no-array-reduce': 'off',
13
13
  'unicorn/no-null': 'off',
14
+ 'unicorn/no-useless-undefined': 'off',
14
15
  'unicorn/numeric-separators-style': [
15
16
  'warn',
16
17
  { onlyIfContainsSeparator: true },
package/lib/utils.mjs CHANGED
@@ -19,14 +19,13 @@ export function pkgHas(checker, getResult) {
19
19
 
20
20
  function getConfig(name) {
21
21
  try {
22
- // eslint-disable-next-line import/no-unresolved
22
+ // eslint-disable-next-line import-x/no-unresolved
23
23
  return require('@nice-move/config/package.json')[name];
24
24
  } catch {
25
25
  return null;
26
26
  }
27
27
  }
28
28
 
29
- // eslint-disable-next-line consistent-return
30
29
  export function configHas(checker, getResult) {
31
30
  const pkg = getConfig('nice-move') || getPkg('nice-move');
32
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-move/eslint-config-base",
3
- "version": "0.14.3",
3
+ "version": "0.15.1",
4
4
  "description": "A `eslint` config for best practice",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -37,7 +37,7 @@
37
37
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
38
38
  "@eslint/eslintrc": "^3.3.5",
39
39
  "@eslint/js": "^9.39.4",
40
- "@eslint/markdown": "^7.5.1",
40
+ "@eslint/markdown": "^8.0.1",
41
41
  "@nice-move/eslint-plugin-html": "^0.1.1",
42
42
  "eslint-config-airbnb-base": "^15.0.0",
43
43
  "eslint-config-prettier": "^10.1.8",
@@ -49,7 +49,7 @@
49
49
  "espree": "^10.4.0",
50
50
  "globals": "^17.4.0",
51
51
  "settingz": "^0.2.0",
52
- "typescript-eslint": "^8.57.2"
52
+ "typescript-eslint": "^8.58.0"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "eslint": "^9.39.4"