From 84ebacaee107d6793008df8b7c8f68a1eca2a3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Sun, 10 Oct 2021 16:29:37 +0200 Subject: [PATCH] feat: support ESLint 8.X BREAKING CHANGE: Requires Node@^12.22.0 || ^14.17.0 || >=16.0.0 --- .github/workflows/test-external.yml | 8 ++++---- .github/workflows/test-internal.yml | 8 ++++---- package.json | 16 ++++++++-------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test-external.yml b/.github/workflows/test-external.yml index 1a7ac6c50..7ddb93330 100644 --- a/.github/workflows/test-external.yml +++ b/.github/workflows/test-external.yml @@ -12,20 +12,20 @@ jobs: strategy: matrix: - node-version: [12.20.0, 14.13.1, 16.0.0] + node-version: [12.22, 12, 14.17, 14, '16.0.0', 16] fail-fast: false steps: - name: Checkout project - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2.4.1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Cache Node dependencies - uses: actions/cache@v2.1.6 + uses: actions/cache@v2 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} diff --git a/.github/workflows/test-internal.yml b/.github/workflows/test-internal.yml index 85cd45636..407c3cd94 100644 --- a/.github/workflows/test-internal.yml +++ b/.github/workflows/test-internal.yml @@ -12,20 +12,20 @@ jobs: strategy: matrix: - node-version: [12.20.0, 14.13.1, 16.0.0] + node-version: [12.22, 12, 14.17, 14, '16.0.0', 16] fail-fast: false steps: - name: Checkout project - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2.4.1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Cache Node dependencies - uses: actions/cache@v2.1.6 + uses: actions/cache@v2 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} diff --git a/package.json b/package.json index 88b74e081..67a8a21ac 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,13 @@ "url": "https://github.com/standard/standard/issues" }, "dependencies": { - "eslint": "~7.18.0", - "eslint-config-standard": "16.0.3", - "eslint-config-standard-jsx": "10.0.0", - "eslint-plugin-import": "~2.24.2", - "eslint-plugin-node": "~11.1.0", - "eslint-plugin-promise": "~5.1.0", - "eslint-plugin-react": "~7.26.1", + "eslint": "^8.0.0", + "eslint-config-standard": "^16.0.3", + "eslint-config-standard-jsx": "^10.0.0", + "eslint-plugin-import": "^2.25.1", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^5.1.0", + "eslint-plugin-react": "^7.26.1", "standard-engine": "^14.0.1" }, "devDependencies": { @@ -34,7 +34,7 @@ "tape": "^5.3.1" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "homepage": "https://standardjs.com", "keywords": [