Просмотр исходного кода

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

vanilla_orig
David Luzar 5 лет назад
Родитель
Сommit
c416de3499
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      package.json

+ 1
- 1
package.json Просмотреть файл

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

Загрузка…
Отмена
Сохранить