From fb8f0cfbe15ed22322173964de276237c714de1e Mon Sep 17 00:00:00 2001 From: sean_bellom Date: Thu, 13 Apr 2023 12:32:23 +0100 Subject: [PATCH 01/11] Update stylelint to latest version --- html-css/.github/workflows/linters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html-css/.github/workflows/linters.yml b/html-css/.github/workflows/linters.yml index 5ead2d7..3cb377b 100644 --- a/html-css/.github/workflows/linters.yml +++ b/html-css/.github/workflows/linters.yml @@ -42,7 +42,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x + npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" From d2a44f074408fa5d14edd124da899b978a5d63ce Mon Sep 17 00:00:00 2001 From: sean_bellom Date: Thu, 13 Apr 2023 12:34:31 +0100 Subject: [PATCH 02/11] Update stylelint to latest version --- html-css-js/.github/workflows/linters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html-css-js/.github/workflows/linters.yml b/html-css-js/.github/workflows/linters.yml index 1550747..1c633c1 100644 --- a/html-css-js/.github/workflows/linters.yml +++ b/html-css-js/.github/workflows/linters.yml @@ -42,7 +42,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x + npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" From 9c9c5465b3d2d1f03b5e6a916bccebbb3c2cd163 Mon Sep 17 00:00:00 2001 From: sean_bellom Date: Thu, 13 Apr 2023 12:41:01 +0100 Subject: [PATCH 03/11] Update eslint to latest version --- html-css-js/.github/workflows/linters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html-css-js/.github/workflows/linters.yml b/html-css-js/.github/workflows/linters.yml index 1c633c1..2bfdd38 100644 --- a/html-css-js/.github/workflows/linters.yml +++ b/html-css-js/.github/workflows/linters.yml @@ -56,7 +56,7 @@ jobs: node-version: "18.x" - name: Setup ESLint run: | - npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x + npm install --save-dev eslint@8.x eslint-config-airbnb-base@15.x eslint-plugin-import@2.x babel-eslint@10.x [ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.eslintrc.json - name: ESLint Report run: npx eslint . From b714fec4cf6a56ea121215b93b820b47bb2fe8f1 Mon Sep 17 00:00:00 2001 From: sean_bellom Date: Thu, 13 Apr 2023 12:43:32 +0100 Subject: [PATCH 04/11] Update stylelint and eslint to latest version --- javascript/.github/workflows/linters.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/.github/workflows/linters.yml b/javascript/.github/workflows/linters.yml index d0ffd7a..bfb8bcc 100644 --- a/javascript/.github/workflows/linters.yml +++ b/javascript/.github/workflows/linters.yml @@ -16,7 +16,7 @@ jobs: node-version: "18.x" - name: Setup ESLint run: | - npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x + npm install --save-dev eslint@8.x eslint-config-airbnb-base@15.x eslint-plugin-import@2.x babel-eslint@10.x [ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/javascript/.eslintrc.json - name: ESLint Report run: npx eslint . @@ -30,7 +30,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x + npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/javascript/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" From 04094d0b2167ac638a66a299305fe84151bd89f3 Mon Sep 17 00:00:00 2001 From: sean_bellom Date: Thu, 13 Apr 2023 12:52:41 +0100 Subject: [PATCH 05/11] Update stylelint and eslint to latest version --- react-redux/.github/workflows/linters.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-redux/.github/workflows/linters.yml b/react-redux/.github/workflows/linters.yml index 151305f..774bfb5 100644 --- a/react-redux/.github/workflows/linters.yml +++ b/react-redux/.github/workflows/linters.yml @@ -16,7 +16,7 @@ jobs: node-version: "18.x" - name: Setup ESLint run: | - npm install --save-dev eslint@7.x eslint-config-airbnb@18.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@4.x @babel/eslint-parser@7.x @babel/core@7.x @babel/plugin-syntax-jsx@7.x @babel/preset-env@7.x @babel/preset-react@7.x + npm install --save-dev eslint@8.x eslint-config-airbnb@19.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@4.x @babel/eslint-parser@7.x @babel/core@7.x @babel/plugin-syntax-jsx@7.x @babel/preset-env@7.x @babel/preset-react@7.x [ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.eslintrc.json [ -f .babelrc ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.babelrc - name: ESLint Report @@ -31,7 +31,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x + npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" From 828d9833fc034d645c27e124bc71ea4b1f3ff9d4 Mon Sep 17 00:00:00 2001 From: sean_bellom Date: Thu, 13 Apr 2023 12:56:21 +0100 Subject: [PATCH 06/11] Update stylelint to latest version --- ror/.github/workflows/linters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ror/.github/workflows/linters.yml b/ror/.github/workflows/linters.yml index 10d12f3..f70a7a3 100644 --- a/ror/.github/workflows/linters.yml +++ b/ror/.github/workflows/linters.yml @@ -30,7 +30,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x + npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/ror/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" From 0dd2f1e0e722033395a6a0fbc63bf6d744bfa825 Mon Sep 17 00:00:00 2001 From: sean_bellom Date: Tue, 18 Apr 2023 14:09:42 +0100 Subject: [PATCH 07/11] Update version after testing --- html-css-js/.github/workflows/linters.yml | 2 +- html-css/.github/workflows/linters.yml | 2 +- javascript/.github/workflows/linters.yml | 2 +- react-redux/.github/workflows/linters.yml | 2 +- ror/.github/workflows/linters.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/html-css-js/.github/workflows/linters.yml b/html-css-js/.github/workflows/linters.yml index 2bfdd38..0ba93e6 100644 --- a/html-css-js/.github/workflows/linters.yml +++ b/html-css-js/.github/workflows/linters.yml @@ -42,7 +42,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x + npm install --save-dev stylelint@14.x stylelint-scss@4.x stylelint-config-standard@29.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" diff --git a/html-css/.github/workflows/linters.yml b/html-css/.github/workflows/linters.yml index 3cb377b..c96dd40 100644 --- a/html-css/.github/workflows/linters.yml +++ b/html-css/.github/workflows/linters.yml @@ -42,7 +42,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x + npm install --save-dev stylelint@14.x stylelint-scss@4.x stylelint-config-standard@29.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" diff --git a/javascript/.github/workflows/linters.yml b/javascript/.github/workflows/linters.yml index bfb8bcc..609fefe 100644 --- a/javascript/.github/workflows/linters.yml +++ b/javascript/.github/workflows/linters.yml @@ -30,7 +30,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x + npm install --save-dev stylelint@14.x stylelint-scss@4.x stylelint-config-standard@29.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/javascript/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" diff --git a/react-redux/.github/workflows/linters.yml b/react-redux/.github/workflows/linters.yml index 774bfb5..bf9fee9 100644 --- a/react-redux/.github/workflows/linters.yml +++ b/react-redux/.github/workflows/linters.yml @@ -31,7 +31,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x + npm install --save-dev stylelint@14.x stylelint-scss@4.x stylelint-config-standard@29.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" diff --git a/ror/.github/workflows/linters.yml b/ror/.github/workflows/linters.yml index f70a7a3..f98e9ad 100644 --- a/ror/.github/workflows/linters.yml +++ b/ror/.github/workflows/linters.yml @@ -30,7 +30,7 @@ jobs: node-version: "18.x" - name: Setup Stylelint run: | - npm install --save-dev stylelint@15.x stylelint-scss@4.x stylelint-config-standard@32.x stylelint-csstree-validator@2.x + npm install --save-dev stylelint@14.x stylelint-scss@4.x stylelint-config-standard@29.x stylelint-csstree-validator@2.x [ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/ror/.stylelintrc.json - name: Stylelint Report run: npx stylelint "**/*.{css,scss}" From 101bdc07b62e9b5cd4341485bfee46eb093cf393 Mon Sep 17 00:00:00 2001 From: Oluwaseun Bello Date: Wed, 19 Apr 2023 06:45:26 +0100 Subject: [PATCH 08/11] Update linters.yml --- javascript/.github/workflows/linters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/.github/workflows/linters.yml b/javascript/.github/workflows/linters.yml index 609fefe..c10419d 100644 --- a/javascript/.github/workflows/linters.yml +++ b/javascript/.github/workflows/linters.yml @@ -16,7 +16,7 @@ jobs: node-version: "18.x" - name: Setup ESLint run: | - npm install --save-dev eslint@8.x eslint-config-airbnb-base@15.x eslint-plugin-import@2.x babel-eslint@10.x + npm install --save-dev eslint@8.x eslint-config-airbnb-base@15.x eslint-plugin-import@2.x @babel/eslint-parser@7.x [ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/javascript/.eslintrc.json - name: ESLint Report run: npx eslint . From 339b5f0f8ed3cd0856d2c4bfaf50b13d3ec6d582 Mon Sep 17 00:00:00 2001 From: Oluwaseun Bello Date: Wed, 19 Apr 2023 06:45:54 +0100 Subject: [PATCH 09/11] Update .eslintrc.json --- javascript/.eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/.eslintrc.json b/javascript/.eslintrc.json index 4df498e..bb42757 100644 --- a/javascript/.eslintrc.json +++ b/javascript/.eslintrc.json @@ -4,7 +4,7 @@ "es6": true, "jest": true }, - "parser": "babel-eslint", + "parser": "@babel/eslint-parser", "parserOptions": { "ecmaVersion": 2018, "sourceType": "module" From 57a728a5bb110844b7ce80af33ca3c1dffb56569 Mon Sep 17 00:00:00 2001 From: Oluwaseun Bello Date: Thu, 27 Apr 2023 15:34:23 +0100 Subject: [PATCH 10/11] Update linters.yml --- html-css-js/.github/workflows/linters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html-css-js/.github/workflows/linters.yml b/html-css-js/.github/workflows/linters.yml index 0ba93e6..1cd0180 100644 --- a/html-css-js/.github/workflows/linters.yml +++ b/html-css-js/.github/workflows/linters.yml @@ -56,7 +56,7 @@ jobs: node-version: "18.x" - name: Setup ESLint run: | - npm install --save-dev eslint@8.x eslint-config-airbnb-base@15.x eslint-plugin-import@2.x babel-eslint@10.x + npm install --save-dev eslint@8.x eslint-config-airbnb-base@15.x eslint-plugin-import@2.x @babel/eslint-parser@7.x [ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/html-css-js/.eslintrc.json - name: ESLint Report run: npx eslint . From 364f798d2dfc2f4ab8d32ef517af13936188dda1 Mon Sep 17 00:00:00 2001 From: Oluwaseun Bello Date: Thu, 27 Apr 2023 15:35:10 +0100 Subject: [PATCH 11/11] Update .eslintrc.json --- html-css-js/.eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html-css-js/.eslintrc.json b/html-css-js/.eslintrc.json index eeb0fe3..3a17a6a 100644 --- a/html-css-js/.eslintrc.json +++ b/html-css-js/.eslintrc.json @@ -4,7 +4,7 @@ "es6": true, "jest": true }, - "parser": "babel-eslint", + "parser": "@babel/eslint-parser", "parserOptions": { "ecmaVersion": 2018, "sourceType": "module"