-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from k-urtica/feat/remove-prettier
Feat/remove prettier
- Loading branch information
Showing
22 changed files
with
1,303 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"prettier.enable": false, | ||
"editor.formatOnSave": false, | ||
|
||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit", | ||
"source.organizeImports": "never" | ||
}, | ||
|
||
"eslint.rules.customizations": [ | ||
{ "rule": "style/*", "severity": "off" }, | ||
{ "rule": "format/*", "severity": "off" }, | ||
{ "rule": "*-indent", "severity": "off" }, | ||
{ "rule": "*-spacing", "severity": "off" }, | ||
{ "rule": "*-spaces", "severity": "off" }, | ||
{ "rule": "*-order", "severity": "off" }, | ||
{ "rule": "*-dangle", "severity": "off" }, | ||
{ "rule": "*-newline", "severity": "off" }, | ||
{ "rule": "*quotes", "severity": "off" }, | ||
{ "rule": "*semi", "severity": "off" } | ||
], | ||
|
||
// Enable eslint for all supported languages | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact", | ||
"vue", | ||
"html", | ||
"markdown", | ||
"json", | ||
"jsonc", | ||
"yaml", | ||
"toml", | ||
"xml", | ||
"gql", | ||
"graphql", | ||
"astro", | ||
"css", | ||
"less", | ||
"scss", | ||
"pcss", | ||
"postcss" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
import eslintConfigPrettier from 'eslint-config-prettier'; | ||
// @ts-check | ||
import antfu from '@antfu/eslint-config'; | ||
|
||
import tailwind from 'eslint-plugin-tailwindcss'; | ||
import withNuxt from './.nuxt/eslint.config.mjs'; | ||
|
||
export default withNuxt({ | ||
rules: { | ||
'vue/define-macros-order': [ | ||
'warn', | ||
{ | ||
order: ['defineOptions', 'defineModel', 'defineProps', 'defineEmits', 'defineSlots'], | ||
}, | ||
], | ||
'vue/require-default-prop': 'off', | ||
export default withNuxt( | ||
antfu({ | ||
stylistic: { | ||
semi: true, | ||
}, | ||
rules: { | ||
'vue/define-macros-order': [ | ||
'warn', | ||
{ | ||
order: ['defineOptions', 'defineModel', 'defineProps', 'defineEmits', 'defineSlots'], | ||
}, | ||
], | ||
}, | ||
|
||
...eslintConfigPrettier.rules, | ||
}, | ||
}); | ||
}), | ||
[...tailwind.configs['flat/recommended'], { | ||
rules: { | ||
'tailwindcss/no-custom-classname': 'off', | ||
}, | ||
}], | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.