From 92095359f9eef65bf7320acf3a51d81ec44fd646 Mon Sep 17 00:00:00 2001 From: Adam Laki Date: Tue, 20 Aug 2024 18:04:42 +0200 Subject: [PATCH] Remove eslint --- .github/workflows/test.yml | 2 +- README.md | 2 -- package.json | 5 ----- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c86c385..e8a34eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: node-version: 'lts/*' - name: Install dependencies - run: npm ci --legacy-peer-deps + run: npm ci - name: Run SASS linter run: npm run sass:lint diff --git a/README.md b/README.md index 18aeb34..02fc91f 100644 --- a/README.md +++ b/README.md @@ -51,5 +51,3 @@ The project compiles the SCSS files from the `./src/scss` folder into the `./src ## Other Scripts - **sass:lint/sass:lint:fix** You can lint your SCSS files with [Stylelint](https://stylelint.io/) and [stylelint-config-sass-guidelines](https://github.com/bjankord/stylelint-config-sass-guidelines) preset with the `npm run sass:lint` command. Use the `npm run sass:lint:fix` command if you want automatic fixes. - -- **js:lint/js:lint:fix** You can also lint your JS like with Sass. For the rules, we use the Airbnb preset. diff --git a/package.json b/package.json index aa7eb96..c8a6183 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,6 @@ "dist:delete": "del-cli --force dist", "eleventy:serve": "npx eleventy --serve", "eleventy:build": "npx eleventy", - "js:lint": "npx eslint 'src/js/**'", - "js:fix": "npx eslint --fix 'src/js/**'", "build": "npm-run-all dist:delete sass:compile eleventy:build", "sass:watch": "sass --watch --update --load-path=node_modules --no-source-map --style=expanded src/scss:src/css", "sass:fix": "stylelint src/scss/**/*.scss --fix", @@ -19,9 +17,6 @@ "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", "del-cli": "^5.1.0", "dotenv": "^16.4.5", - "eslint": "^9.9.0", - "eslint-config-airbnb-base": "^15.0.0", - "eslint-plugin-import": "^2.29.1", "himalaya": "^1.1.0", "html-minifier": "^4.0.0", "jsdom": "^24.1.1",