mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-05 18:20:39 -08:00
fix: dprint conflict
This commit is contained in:
parent
d064cfe260
commit
a3bd62846d
2 changed files with 6 additions and 4 deletions
|
|
@ -110,6 +110,8 @@ module.exports = {
|
||||||
useDprintJson: true,
|
useDprintJson: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
// conflict with dprint-integration/dprint, will make some line disappear, and some line duplicated
|
||||||
|
'@typescript-eslint/consistent-type-imports': 'off',
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
'eslint:recommended',
|
'eslint:recommended',
|
||||||
|
|
@ -141,7 +143,7 @@ module.exports = {
|
||||||
'react-hooks',
|
'react-hooks',
|
||||||
'security',
|
'security',
|
||||||
'security-node',
|
'security-node',
|
||||||
'autofix',
|
// 'autofix',
|
||||||
'unused-imports',
|
'unused-imports',
|
||||||
],
|
],
|
||||||
env: {
|
env: {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"lineWidth": 160,
|
"lineWidth": 180,
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"quoteProps": "asNeeded",
|
"quoteProps": "asNeeded",
|
||||||
"quoteStyle": "preferSingle",
|
"quoteStyle": "preferSingle",
|
||||||
|
|
@ -15,8 +15,8 @@
|
||||||
],
|
],
|
||||||
"excludes": ["**/node_modules", "**/*-lock.json"],
|
"excludes": ["**/node_modules", "**/*-lock.json"],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"https://plugins.dprint.dev/typescript-0.84.1.wasm",
|
"https://plugins.dprint.dev/typescript-0.84.4.wasm",
|
||||||
"https://plugins.dprint.dev/json-0.17.1.wasm",
|
"https://plugins.dprint.dev/json-0.17.2.wasm",
|
||||||
"https://plugins.dprint.dev/markdown-0.15.2.wasm"
|
"https://plugins.dprint.dev/markdown-0.15.2.wasm"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue