@rhyster/eslint-config 1.2.0 → 1.4.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/dist/eslint.config.d.ts +1 -1
- package/dist/eslint.config.d.ts.map +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/src/airbnb/errors.d.ts.map +1 -1
- package/dist/src/index.d.ts +5 -5
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/airbnb/errors.ts +5 -1
- package/src/airbnb/style.ts +1 -1
package/dist/eslint.config.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../eslint.config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../eslint.config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAKjC,OAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrB,wBAuB4B"}
|
package/dist/index.cjs
CHANGED
|
@@ -450,7 +450,11 @@ const errors = {
|
|
|
450
450
|
"no-console": [
|
|
451
451
|
"error",
|
|
452
452
|
{
|
|
453
|
-
allow: [
|
|
453
|
+
allow: [
|
|
454
|
+
"info",
|
|
455
|
+
"warn",
|
|
456
|
+
"error"
|
|
457
|
+
]
|
|
454
458
|
}
|
|
455
459
|
],
|
|
456
460
|
// Disallows expressions where the operation doesn't affect the value
|
|
@@ -1352,7 +1356,7 @@ const style = {
|
|
|
1352
1356
|
"@stylistic/multiline-comment-style": ["off", "starred-block"],
|
|
1353
1357
|
// require multiline ternary
|
|
1354
1358
|
// https://eslint.style/rules/default/multiline-ternary
|
|
1355
|
-
"@stylistic/multiline-ternary": ["error", "
|
|
1359
|
+
"@stylistic/multiline-ternary": ["error", "always-multiline"],
|
|
1356
1360
|
// require a capital letter for constructors
|
|
1357
1361
|
// https://eslint.org/docs/rules/new-cap
|
|
1358
1362
|
"new-cap": [
|