@nice-move/eslint-config-base 0.12.18 → 0.12.20

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/README.md CHANGED
@@ -36,12 +36,12 @@ eslint --fix .
36
36
 
37
37
  ## Specification
38
38
 
39
- | Environment | pattern |
40
- | :---------- | :------------------------------------------------------------------------------------------- |
41
- | browser | `.js`, `.html` |
42
- | node.js | `.mjs`, `.mts`, `.cjs`, `.cts` |
43
- | es modules | `.mjs`, `.mts`, `.js`, `.html` |
44
- | commonjs | `.cjs`, source code in webpack project |
39
+ | Environment | pattern |
40
+ | :---------- | :------------------------------------- |
41
+ | browser | `.js`, `.html` |
42
+ | node.js | `.mjs`, `.mts`, `.cjs`, `.cts` |
43
+ | es modules | `.mjs`, `.mts`, `.js`, `.html` |
44
+ | commonjs | `.cjs`, source code in webpack project |
45
45
 
46
46
  ## Tips
47
47
 
@@ -52,4 +52,10 @@ export default [
52
52
  '@typescript-eslint/no-require-imports': 0,
53
53
  },
54
54
  },
55
+ {
56
+ files: ['**/*.d.cts', '**/*.d.cts', '**/*.d.mts'],
57
+ rules: {
58
+ 'no-use-before-define': 0,
59
+ },
60
+ },
55
61
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice-move/eslint-config-base",
3
- "version": "0.12.18",
3
+ "version": "0.12.20",
4
4
  "description": "A `eslint` config for best practice",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -26,7 +26,7 @@
26
26
  "homepage": "https://github.com/nice-move/nice-move/tree/master/packages/eslint-config-base",
27
27
  "repository": {
28
28
  "type": "git",
29
- "url": "https://github.com/nice-move/nice-move.git",
29
+ "url": "git+https://github.com/nice-move/nice-move.git",
30
30
  "directory": "packages/eslint-config-base"
31
31
  },
32
32
  "bugs": {
@@ -37,24 +37,24 @@
37
37
  "dependencies": {
38
38
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
39
39
  "@eslint/eslintrc": "^3.3.1",
40
- "@eslint/js": "^9.25.1",
40
+ "@eslint/js": "^9.27.0",
41
41
  "@nice-move/eslint-plugin-html": "^0.1.1",
42
42
  "eslint-config-airbnb-base": "^15.0.0",
43
- "eslint-config-prettier": "^10.1.2",
43
+ "eslint-config-prettier": "^10.1.5",
44
44
  "eslint-plugin-import": "^2.31.0",
45
45
  "eslint-plugin-markdown": "^5.1.0",
46
- "eslint-plugin-n": "^17.17.0",
46
+ "eslint-plugin-n": "^17.18.0",
47
47
  "eslint-plugin-promise": "^7.2.1",
48
48
  "eslint-plugin-regexp": "^2.7.0",
49
- "eslint-plugin-unicorn": "^58.0.0",
49
+ "eslint-plugin-unicorn": "^59.0.1",
50
50
  "espree": "^10.3.0",
51
- "globals": "^16.0.0",
51
+ "globals": "^16.1.0",
52
52
  "resolve.exports": "^2.0.3",
53
53
  "settingz": "^0.2.0",
54
- "typescript-eslint": "^8.31.0"
54
+ "typescript-eslint": "^8.32.1"
55
55
  },
56
56
  "peerDependencies": {
57
- "eslint": "^9.25.1"
57
+ "eslint": "^9.27.0"
58
58
  },
59
59
  "engines": {
60
60
  "node": "^20.18.1 || ^22.11.0"