SaltyMonkey лет назад: 6
Родитель
Сommit
5f79d596e1
2 измененных файлов с 1 добавлено и 3 удалено
  1. 0 1
      .github/workflows/ci.yml
  2. 1 2
      package.json

+ 0 - 1
.github/workflows/ci.yml

@@ -18,7 +18,6 @@ jobs:
       run: |
           npm ci
           npm run lint
-          npm run lint-info
           npm ci --only=production
     - name: Generate manifest
       run: npm run manifest

+ 1 - 2
package.json

@@ -7,8 +7,7 @@
     "node": ">=12.4.0"
   },
   "scripts": {
-    "lint": "eslint **/*.js",
-    "lint-info": "eslint -h",
+    "lint": "./node_modules/.bin/eslint **/*.js --fix",
     "version": "auto-changelog --package && git add CHANGELOG.md",
     "manifest": "node ./.manifest.js"
   },