neatlint 1.1.16 → 1.1.17

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
@@ -8,9 +8,9 @@
8
8
  [Function]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function
9
9
  [Promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
10
10
  [Void]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Undefined
11
- [NeatlintOptionsDefault]: https://github.com/keift/neatlint/blob/main/src/defaults/NeatlintOptions.default.ts
12
- [ESLintConfig]: https://github.com/eslint/eslint/blob/main/lib/types/index.d.ts#L1748
13
- [NeatlintOptions]: https://github.com/keift/neatlint/blob/main/src/types/NeatlintOptions.type.ts
11
+ [NeatlintOptionsDefault]: ./src/defaults/NeatlintOptions.default.ts
12
+ [ESLintConfig]: https://github.com/eslint/eslint/blob/main/lib/types/index.d.ts#L1750
13
+ [NeatlintOptions]: ./src/types/NeatlintOptions.type.ts
14
14
 
15
15
  <div align="center">
16
16
  <br/>
package/dist/main.js CHANGED
@@ -68,6 +68,7 @@ var javascript_rules = {
68
68
  "no-new-func": "error",
69
69
  "no-new-wrappers": "error",
70
70
  "no-object-constructor": "error",
71
+ "no-restricted-imports": ["error", { patterns: ["node:*"] }],
71
72
  "no-restricted-syntax": ["error", "CallExpression[callee.name='String']", "CallExpression[callee.name='Boolean']", "CallExpression[callee.name='parseFloat']", "CallExpression[callee.property.name='forEach']", "CallExpression[callee.property.name='join'][callee.object.callee.property.name='split']", "DebuggerStatement", "EmptyStatement", "ForInStatement", "LabeledStatement", "SequenceExpression", "SwitchStatement", "WithStatement"],
72
73
  "no-useless-call": "error",
73
74
  "no-useless-computed-key": "error",
package/dist/main.mjs CHANGED
@@ -32,6 +32,7 @@ var javascript_rules = {
32
32
  "no-new-func": "error",
33
33
  "no-new-wrappers": "error",
34
34
  "no-object-constructor": "error",
35
+ "no-restricted-imports": ["error", { patterns: ["node:*"] }],
35
36
  "no-restricted-syntax": ["error", "CallExpression[callee.name='String']", "CallExpression[callee.name='Boolean']", "CallExpression[callee.name='parseFloat']", "CallExpression[callee.property.name='forEach']", "CallExpression[callee.property.name='join'][callee.object.callee.property.name='split']", "DebuggerStatement", "EmptyStatement", "ForInStatement", "LabeledStatement", "SequenceExpression", "SwitchStatement", "WithStatement"],
36
37
  "no-useless-call": "error",
37
38
  "no-useless-computed-key": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neatlint",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Strict ESLint presets for modern TypeScript projects.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/keift/neatlint",
@@ -18,10 +18,10 @@
18
18
  "@eslint/js": "^9.36.0",
19
19
  "@types/lodash": "^4.17.20",
20
20
  "eslint": "^9.36.0",
21
- "jiti": "^2.6.0",
21
+ "jiti": "^2.6.1",
22
22
  "lodash": "^4.17.21",
23
- "typescript": "^5.9.2",
24
- "typescript-eslint": "^8.44.1"
23
+ "typescript": "^5.9.3",
24
+ "typescript-eslint": "^8.45.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "prettier": "^3.6.2",