Ver Fonte

chore: add --max-warnings 0 to additional eslint and stylelint runners

Co-Authored-By: Connor Prussin <connor@dourolabs.xyz>
Devin AI há 8 meses atrás
pai
commit
9b4e0e6323
2 ficheiros alterados com 4 adições e 4 exclusões
  1. 2 2
      apps/insights/package.json
  2. 2 2
      packages/component-library/package.json

+ 2 - 2
apps/insights/package.json

@@ -15,8 +15,8 @@
     "start:dev": "next dev --port 3003",
     "start:prod": "next start --port 3003",
     "test:format": "prettier --check .",
-    "test:lint:eslint": "eslint .",
-    "test:lint:stylelint": "stylelint 'src/**/*.scss'",
+    "test:lint:eslint": "eslint . --max-warnings 0",
+    "test:lint:stylelint": "stylelint 'src/**/*.scss' --max-warnings 0",
     "test:types": "tsc"
   },
   "dependencies": {

+ 2 - 2
packages/component-library/package.json

@@ -17,8 +17,8 @@
     "fix:lint:stylelint": "stylelint --fix 'src/**/*.scss'",
     "start:dev": "storybook dev --port 4000 --no-open",
     "test:format": "prettier --check .",
-    "test:lint:eslint": "eslint .",
-    "test:lint:stylelint": "stylelint 'src/**/*.scss'",
+    "test:lint:eslint": "eslint . --max-warnings 0",
+    "test:lint:stylelint": "stylelint 'src/**/*.scss' --max-warnings 0",
     "test:types": "tsc"
   },
   "peerDependencies": {