Skip to content

Commit

Permalink
add prettier to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
harrydowning committed Aug 28, 2024
1 parent e1b0e88 commit 7ec70f0
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ["dist/*"],
},
eslintPluginPrettierRecommended, // Must be last
);
90 changes: 90 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@
"@types/vscode": "1.74.0",
"@vscode/vsce": "^2.29.0",
"eslint": "^9.9.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
Expand Down

0 comments on commit 7ec70f0

Please sign in to comment.