diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 404abb2..0000000 --- a/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -coverage/ diff --git a/.eslintrc b/.eslintrc index c528168..4c998a6 100644 --- a/.eslintrc +++ b/.eslintrc @@ -6,7 +6,6 @@ "rules": { "id-length": [2, { "min": 1, "max": 30 }], "max-nested-callbacks": [2, 3], - "max-statements": [2, 14], "max-statements-per-line": [2, { "max": 2 }], "no-unused-vars": [1] }, diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 25d2b04..98c6324 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -30,7 +30,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm run tests-only - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v1 minors: needs: [matrix, latest] @@ -50,7 +50,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm run tests-only - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v1 node: name: 'node' diff --git a/package.json b/package.json index d389c95..58b18d7 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,8 @@ "pretest": "npm run lint", "test": "npm run tests-only", "tests-only": "nyc tape 'test/**/*.js'", - "posttest": "npx aud --production", - "lint": "eslint --ext=.js,.mjs ." + "posttest": "aud --production", + "lint": "eslint --ext=js,mjs ." }, "preferGlobal": true, "bin": { @@ -47,12 +47,13 @@ "promiseback": "^2.0.3" }, "devDependencies": { - "@ljharb/eslint-config": "^18.0.0", + "@ljharb/eslint-config": "^20.1.0", "aud": "^1.1.5", - "eslint": "^7.32.0", + "eslint": "^8.6.0", + "in-publish": "^2.0.1", "nyc": "^14.1.1", - "safe-publish-latest": "^1.1.5", - "tape": "^5.3.1" + "safe-publish-latest": "^2.0.0", + "tape": "^5.4.0" }, "engines": { "npm": "^6.13.4 || ^7 || ^8",