Skip to content

Commit

Permalink
fix: dprint conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed May 19, 2023
1 parent d064cfe commit a3bd628
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ module.exports = {
useDprintJson: true,
},
],
// conflict with dprint-integration/dprint, will make some line disappear, and some line duplicated
'@typescript-eslint/consistent-type-imports': 'off',
},
extends: [
'eslint:recommended',
Expand Down Expand Up @@ -141,7 +143,7 @@ module.exports = {
'react-hooks',
'security',
'security-node',
'autofix',
// 'autofix',
'unused-imports',
],
env: {
Expand Down
6 changes: 3 additions & 3 deletions dprint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lineWidth": 160,
"lineWidth": 180,
"typescript": {
"quoteProps": "asNeeded",
"quoteStyle": "preferSingle",
Expand All @@ -15,8 +15,8 @@
],
"excludes": ["**/node_modules", "**/*-lock.json"],
"plugins": [
"https://plugins.dprint.dev/typescript-0.84.1.wasm",
"https://plugins.dprint.dev/json-0.17.1.wasm",
"https://plugins.dprint.dev/typescript-0.84.4.wasm",
"https://plugins.dprint.dev/json-0.17.2.wasm",
"https://plugins.dprint.dev/markdown-0.15.2.wasm"
]
}

0 comments on commit a3bd628

Please sign in to comment.