-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
1,929 additions
and
392 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 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,5 +1,72 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Colada" | ||
] | ||
"cSpell.words": [ | ||
"Colada" | ||
], | ||
// Enable the ESlint flat config support | ||
"eslint.experimental.useFlatConfig": true, | ||
// Disable the default formatter, use eslint instead | ||
"prettier.enable": false, | ||
"editor.formatOnSave": false, | ||
// Auto fix | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit", | ||
"source.organizeImports": "never" | ||
}, | ||
// Silent the stylistic rules in you IDE, but still auto fix them | ||
"eslint.rules.customizations": [ | ||
{ | ||
"rule": "style/*", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "format/*", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "*-indent", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "*-spacing", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "*-spaces", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "*-order", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "*-dangle", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "*-newline", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "*quotes", | ||
"severity": "warn" | ||
}, | ||
{ | ||
"rule": "*semi", | ||
"severity": "warn" | ||
} | ||
], | ||
// Enable eslint for all supported languages | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact", | ||
"vue", | ||
"html", | ||
"markdown", | ||
"json", | ||
"jsonc", | ||
"yaml", | ||
"toml" | ||
] | ||
} |
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
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
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
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,9 +1,20 @@ | ||
// @ts-check | ||
import antfu from '@antfu/eslint-config' | ||
|
||
export default antfu({ | ||
ignores: [ | ||
// | ||
'**/*.ts.timestamp*', | ||
], | ||
rules: { | ||
'symbol-description': 'off', | ||
'node/prefer-global/process': 'off', | ||
'no-control-regex': 'off', | ||
'curly': ['error', 'multi-line'], | ||
'antfu/if-newline': 'off', | ||
'style/brace-style': ['error', '1tbs'], | ||
'antfu/top-level-function': 'off', | ||
'test/prefer-lowercase-title': 'off', | ||
'style/yield-star-spacing': ['error', 'before'], | ||
}, | ||
}) |
Oops, something went wrong.