Skip to content

Commit

Permalink
Prioritise Prettier rules (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Sep 29, 2024
1 parent e90578b commit 8851ebe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/many-planets-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-config-seek": patch
---

Prioritise `eslint-config-prettier` overrides over the base rules
2 changes: 1 addition & 1 deletion base.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const settings = {
};

module.exports = [
eslintConfigPrettier,
{
plugins: {
'import-x': importX,
Expand Down Expand Up @@ -125,6 +124,7 @@ module.exports = [
settings,
rules: baseRules,
},
eslintConfigPrettier,
...[...tseslint.configs.recommended, ...tseslint.configs.stylistic].map(
({ plugins, ...config }) => ({
...config,
Expand Down

0 comments on commit 8851ebe

Please sign in to comment.