@ofk/eslint-config 0.0.6 → 0.0.7

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/dist/index.js CHANGED
@@ -106,8 +106,6 @@ var importsStrict = mergeRules(
106
106
  },
107
107
  // https://github.com/import-js/eslint-plugin-import?tab=readme-ov-file#static-analysis
108
108
  {
109
- "import/enforce-node-protocol-usage": "off",
110
- // for node.js
111
109
  "import/no-absolute-path": "error",
112
110
  "import/no-cycle": "error",
113
111
  "import/no-dynamic-require": "error",
@@ -194,7 +192,6 @@ function imports({
194
192
  },
195
193
  node ? {
196
194
  rules: {
197
- "import/enforce-node-protocol-usage": ["error", "always"],
198
195
  "import/no-nodejs-modules": "off"
199
196
  }
200
197
  } : {},
@@ -1053,8 +1050,6 @@ var unicornRecommended = mergeRules(
1053
1050
  // not recommended
1054
1051
  "unicorn/prefer-keyboard-event-key": "off",
1055
1052
  // allow keyCode
1056
- "unicorn/prefer-node-protocol": "off",
1057
- // disabled for use import/enforce-node-protocol-usage
1058
1053
  "unicorn/prefer-string-raw": "off",
1059
1054
  // disallow String.raw
1060
1055
  "unicorn/prefer-structured-clone": "off",
package/dist/index.mjs CHANGED
@@ -70,8 +70,6 @@ var importsStrict = mergeRules(
70
70
  },
71
71
  // https://github.com/import-js/eslint-plugin-import?tab=readme-ov-file#static-analysis
72
72
  {
73
- "import/enforce-node-protocol-usage": "off",
74
- // for node.js
75
73
  "import/no-absolute-path": "error",
76
74
  "import/no-cycle": "error",
77
75
  "import/no-dynamic-require": "error",
@@ -158,7 +156,6 @@ function imports({
158
156
  },
159
157
  node ? {
160
158
  rules: {
161
- "import/enforce-node-protocol-usage": ["error", "always"],
162
159
  "import/no-nodejs-modules": "off"
163
160
  }
164
161
  } : {},
@@ -1017,8 +1014,6 @@ var unicornRecommended = mergeRules(
1017
1014
  // not recommended
1018
1015
  "unicorn/prefer-keyboard-event-key": "off",
1019
1016
  // allow keyCode
1020
- "unicorn/prefer-node-protocol": "off",
1021
- // disabled for use import/enforce-node-protocol-usage
1022
1017
  "unicorn/prefer-string-raw": "off",
1023
1018
  // disallow String.raw
1024
1019
  "unicorn/prefer-structured-clone": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ofk/eslint-config",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "ofk (https://github.com/ofk/)",