Skip to content

Commit

Permalink
Move to rome instead of prettier for .ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovenoboyo committed Jul 25, 2023
1 parent 23bfa80 commit 9adbf37
Show file tree
Hide file tree
Showing 135 changed files with 1,927 additions and 1,944 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/*.js
**/*.ts
7 changes: 0 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ module.exports = {
'no-undef': 0,
'unused-imports/no-unused-imports': 'error',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'prettier/prettier': [
'error',
{
endOfLine: 'auto'
}
],
'@typescript-eslint/no-namespace': 'off',
'vue/no-v-for-template-key': 'off'
},
Expand All @@ -36,6 +30,5 @@ module.exports = {
'eslint:recommended',
'@vue/typescript',
'@vue/typescript/recommended',
'plugin:prettier/recommended'
]
}
19 changes: 12 additions & 7 deletions moosync.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
}
],
"settings": {
"eslint.validate": [
"typescript",
"javascript",
"vue"
],
"eslint.validate": ["vue"],
"editor.tabSize": 2,
"cSpell.words": [
"Adwaita",
Expand Down Expand Up @@ -126,6 +122,12 @@
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "rome.rome"
},
"[javascript]": {
"editor.defaultFormatter": "rome.rome"
},
"search.exclude": {
"**/node_modules": false,
"flatpak": true
Expand Down Expand Up @@ -228,6 +230,9 @@
"xtr1common": "cpp",
"xtree": "cpp",
"xutility": "cpp"
},
}
},
"extensions": {
"recommendations": ["rome.rome"]
}
}
}
Loading

0 comments on commit 9adbf37

Please sign in to comment.