Skip to content

Commit

Permalink
chore: more ESLint configurating
Browse files Browse the repository at this point in the history
  • Loading branch information
susickypavel committed Nov 19, 2024
1 parent 889595e commit dbd99dd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .vscode/project.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
}
],
"settings": {
"eslint.validate": [
"astro",
"typescript",
"typescriptreact"
],
"editor.formatOnSave": false
}
}
}
File renamed without changes.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import eslintPluginAstro from "eslint-plugin-astro";
import stylistic from "@stylistic/eslint-plugin";

// TODO: Migrate to https://eslint.style/guide/getting-started

export default [
...eslintPluginAstro.configs.recommended,
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"eslint-plugin-astro": "1.3.1",
"eslint-plugin-jsx-a11y": "6.10.2"
}
}
}

0 comments on commit dbd99dd

Please sign in to comment.