Skip to content

Commit

Permalink
Merge pull request #1023 from 3YOURMIND/set-eslint-prettier-to-warn
Browse files Browse the repository at this point in the history
version([email protected]): Make prettier/prettier a Warning
  • Loading branch information
FlorianWendelborn authored Nov 22, 2024
2 parents 9907101 + 1c83f53 commit 461df26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@
},
"type": "module",
"types": "./dist/mjs/index.d.ts",
"version": "0.1.3"
"version": "0.1.4"
}
3 changes: 3 additions & 0 deletions packages/eslint-config/source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ const baseConfig = tseslint.config({
radix: 'error',
'valid-typeof': 'error',

// prettier
'prettier/prettier': 'warn',

// SonarJS
'sonarjs/no-collapsible-if': 'off', // replaced by unicorn/no-lonely-if
'sonarjs/no-duplicate-string': 'off',
Expand Down

0 comments on commit 461df26

Please sign in to comment.