@futagoza/eslint-config-node 17.0.1 → 17.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@futagoza/eslint-config-node",
3
- "version": "17.0.1",
3
+ "version": "17.2.1",
4
4
  "description": "Futago-za Ryuu's ESLint configurations for Node.js",
5
5
  "keywords": [
6
6
  "eslint",
@@ -16,9 +16,9 @@
16
16
  "main": "index.js",
17
17
  "type": "module",
18
18
  "dependencies": {
19
- "@futagoza/eslint-config-globals": "17.0.0",
20
- "@futagoza/eslint-config-javascript": "17.0.0",
21
- "eslint-plugin-n": "18.2.2"
19
+ "@futagoza/eslint-config-globals": "17.2.1",
20
+ "@futagoza/eslint-config-javascript": "17.2.1",
21
+ "eslint-plugin-n": "18.3.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "eslint": "*"
@@ -63,7 +63,7 @@ export const config = {
63
63
  "n/no-new-require": "off",
64
64
 
65
65
  /**
66
- * disallow string concatenation with `__dirname` and `__filename`
66
+ * disallow string concatenation with `__dirname`, `__filename`, and `import.meta` paths
67
67
  *
68
68
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/no-path-concat.md
69
69
  */
@@ -167,6 +167,13 @@ export const config = {
167
167
  */
168
168
  "n/prefer-global/timers": "warn",
169
169
 
170
+ /**
171
+ * enforce using `node:assert/strict` instead of `node:assert`.
172
+ *
173
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-import/assert-strict.md
174
+ */
175
+ "n/prefer-import/assert-strict": "warn",
176
+
170
177
  /**
171
178
  * 🔧 enforce using the `node:` protocol when importing Node.js builtin modules.
172
179
  *
@@ -174,6 +181,13 @@ export const config = {
174
181
  */
175
182
  "n/prefer-node-protocol": "off",
176
183
 
184
+ /**
185
+ * enforce using `process.getBuiltinModule()` to load Node.js built-in modules
186
+ *
187
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/master/docs/rules/prefer-process-get-builtin-module.md
188
+ */
189
+ "n/prefer-process-get-builtin-module": "warn",
190
+
177
191
  /**
178
192
  * enforce `require("dns").promises`
179
193
  *