Skip to content

Commit

Permalink
Merge pull request #615 from IgorKowalczyk/renovate/eslint-9.x
Browse files Browse the repository at this point in the history
Update dependency eslint to v9
  • Loading branch information
IgorKowalczyk authored Apr 19, 2024
2 parents 1ee73e3 + d6c7c0b commit 0ceac78
Show file tree
Hide file tree
Showing 14 changed files with 213 additions and 255 deletions.
31 changes: 0 additions & 31 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"markdown.validate.referenceLinks.enabled": "ignore",
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"deno.enable": true
}
10 changes: 10 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import eslintConfig from "@igorkowalczyk/eslint-config/flat";
import eslintPluginAstro from "eslint-plugin-astro";

export default [
{
ignores: ["dist/"],
},
...eslintConfig,
...eslintPluginAstro.configs["flat/recommended"],
];
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"preview": "deno run --allow-net --allow-read --unstable --allow-env ./dist/server/entry.mjs",
"format": "prettier . --write --ignore-unknown --cache --plugin=prettier-plugin-astro --plugin=prettier-plugin-tailwindcss",
"format:check": "prettier . --check --cache",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.astro",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx,.astro --fix"
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -50,8 +50,7 @@
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"autoprefixer": "10.4.19",
"eslint": "8.57.0",
"eslint-plugin": "^1.0.1",
"eslint": "9.0.0",
"eslint-plugin-astro": "0.34.0",
"postcss": "8.4.38",
"prettier": "3.2.5",
Expand Down
Loading

0 comments on commit 0ceac78

Please sign in to comment.