From 07f78b6a9abb3ca2767fa35a6597d2468db35256 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 | 18 +++++++++--------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test-external.yml b/.github/workflows/test-external.yml index a856c114b..90ca2cbca 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.5 + 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 4681f2568..91bc15f2c 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.5 + 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..6cf225c46 100644 --- a/package.json +++ b/package.json @@ -15,14 +15,14 @@ "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", - "standard-engine": "^14.0.1" + "eslint": "^8.7.0", + "eslint-config-standard": "^17.0.0-0", + "eslint-config-standard-jsx": "^10.0.0", + "eslint-plugin-import": "^2.25.4", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^6.0.0", + "eslint-plugin-react": "^7.28.0", + "standard-engine": "^15.0.0-0" }, "devDependencies": { "cross-spawn": "^7.0.3", @@ -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": [