@ntnyq/eslint-config 3.0.0-beta.18 → 3.0.0-beta.19
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.cjs +6 -0
- package/dist/index.d.cts +154 -138
- package/dist/index.d.ts +154 -138
- package/dist/index.js +6 -0
- package/package.json +15 -15
package/dist/index.cjs
CHANGED
|
@@ -1190,6 +1190,10 @@ var unicorn = (options = {}) => [
|
|
|
1190
1190
|
"unicorn/prefer-top-level-await": "off",
|
|
1191
1191
|
"unicorn/explicit-length-check": "off",
|
|
1192
1192
|
"unicorn/no-array-callback-reference": "off",
|
|
1193
|
+
/**
|
|
1194
|
+
* @see https://caniuse.com/?search=globalThis
|
|
1195
|
+
*/
|
|
1196
|
+
"unicorn/prefer-global-this": "off",
|
|
1193
1197
|
"unicorn/error-message": "error",
|
|
1194
1198
|
"unicorn/escape-case": "error",
|
|
1195
1199
|
"unicorn/no-new-buffer": "error",
|
|
@@ -1219,6 +1223,8 @@ var unicorn = (options = {}) => [
|
|
|
1219
1223
|
"unicorn/prefer-optional-catch-binding": "error",
|
|
1220
1224
|
"unicorn/prefer-prototype-methods": "error",
|
|
1221
1225
|
"unicorn/prefer-reflect-apply": "error",
|
|
1226
|
+
"unicorn/prefer-math-min-max": "error",
|
|
1227
|
+
"unicorn/consistent-existence-index-check": "error",
|
|
1222
1228
|
"unicorn/catch-error-name": [
|
|
1223
1229
|
"error",
|
|
1224
1230
|
{
|