@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 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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiou/eslint-config",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "type": "module",
5
5
  "description": "eslint config for JW",
6
6
  "keywords": [],