eslint-plugin-putout 15.8.1 → 16.0.0

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/index.js CHANGED
@@ -93,9 +93,10 @@ const recommended = {
93
93
  'putout/nonblock-statement-body-newline': 'error',
94
94
  'putout/putout': 'error',
95
95
 
96
- 'node/no-unsupported-features/es-syntax': 'off',
97
- 'node/no-missing-import': 'off',
98
- 'node/no-missing-require': 'off',
96
+ 'n/no-unsupported-features/es-syntax': 'off',
97
+ 'n/no-missing-import': 'off',
98
+ 'n/no-missing-require': 'off',
99
+ 'n/no-process-exit': 'off',
99
100
  },
100
101
  overrides: [
101
102
  ...markdown,
@@ -105,7 +106,7 @@ const recommended = {
105
106
  ...ts,
106
107
  ],
107
108
  plugins: [
108
- 'node',
109
+ 'n',
109
110
  ],
110
111
  };
111
112
 
package/lib/markdown.js CHANGED
@@ -10,14 +10,15 @@ const commonRules = {
10
10
  'eol-last': 'off',
11
11
  'no-unreachable': 'off',
12
12
  'no-constant-condition': 'off',
13
- 'node/no-extraneous-require': 'off',
14
- 'node/no-extraneous-import': 'off',
15
- 'node/no-unpublished-require': 'off',
16
- 'node/no-unpublished-import': 'off',
17
- 'node/no-missing-require': 'off',
18
- 'node/no-missing-import': 'off',
19
- 'node/no-unsupported-features/es-syntax': 'off',
20
- 'node/no-unsupported-features/node-builtins': 'off',
13
+ 'n/no-extraneous-require': 'off',
14
+ 'n/no-extraneous-import': 'off',
15
+ 'n/no-unpublished-require': 'off',
16
+ 'n/no-unpublished-import': 'off',
17
+ 'n/no-missing-require': 'off',
18
+ 'n/no-missing-import': 'off',
19
+ 'n/no-unsupported-features/es-syntax': 'off',
20
+ 'n/no-unsupported-features/n-builtins': 'off',
21
+ 'n/no-process-exit': 'off',
21
22
  };
22
23
  const parserOptions = {
23
24
  requireConfigFile: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-putout",
3
- "version": "15.8.1",
3
+ "version": "16.0.0",
4
4
  "type": "commonjs",
5
5
  "description": "ESLint plugin for 🐊Putout",
6
6
  "release": false,
@@ -43,7 +43,7 @@
43
43
  "@typescript-eslint/eslint-plugin": "^5.5.0",
44
44
  "@typescript-eslint/parser": "^5.4.0",
45
45
  "align-spaces": "^1.0.0",
46
- "eslint-plugin-node": "^11.0.0",
46
+ "eslint-plugin-n": "^15.2.4",
47
47
  "try-catch": "^3.0.0",
48
48
  "typescript": "^4.5.2"
49
49
  },