Skip to content

Commit

Permalink
Remove eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Aug 20, 2024
1 parent 5adf3c0 commit 9209535
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 9209535

Please sign in to comment.