Преглед на файлове

fix lint not failing on warnings on CI (#1063)

David Luzar преди 5 години
родител
ревизия
c416de3499
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -96,7 +96,7 @@
     "test": "npm run test:app",
     "test:app": "react-scripts test --env=jsdom --passWithNoTests",
     "test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
-    "test:code": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
+    "test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
     "test:typecheck": "tsc",
     "test:other": "npm run prettier -- --list-different"
   },