@aiou/eslint-config 2.1.0 → 2.2.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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -474,7 +474,7 @@ const javascript = () => {
|
|
|
474
474
|
camelcase: "off",
|
|
475
475
|
"no-constant-condition": "warn",
|
|
476
476
|
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
|
|
477
|
-
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
|
|
477
|
+
"no-console": process.env.NODE_ENV === "production" ? ["error", { allow: ["debug", "error", "warn"] }] : "off",
|
|
478
478
|
"no-cond-assign": ["error", "always"],
|
|
479
479
|
"no-restricted-syntax": [
|
|
480
480
|
"error",
|
package/dist/index.mjs
CHANGED
|
@@ -445,7 +445,7 @@ const javascript = () => {
|
|
|
445
445
|
camelcase: "off",
|
|
446
446
|
"no-constant-condition": "warn",
|
|
447
447
|
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
|
|
448
|
-
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
|
|
448
|
+
"no-console": process.env.NODE_ENV === "production" ? ["error", { allow: ["debug", "error", "warn"] }] : "off",
|
|
449
449
|
"no-cond-assign": ["error", "always"],
|
|
450
450
|
"no-restricted-syntax": [
|
|
451
451
|
"error",
|