mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
41 lines
649 B
JavaScript
41 lines
649 B
JavaScript
module.exports = {
|
|
printWidth: 120,
|
|
tabWidth: 2,
|
|
useTabs: false,
|
|
bracketSpacing: true,
|
|
bracketSameLine: false,
|
|
endOfLine: 'auto',
|
|
semi: false,
|
|
singleQuote: true,
|
|
trailingComma: 'all',
|
|
arrowParens: 'always',
|
|
|
|
overrides: [
|
|
{
|
|
files: ['**/*.ts'],
|
|
options: {
|
|
semi: true,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.*css'],
|
|
options: {
|
|
singleQuote: false,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.yml', '**/*.yaml'],
|
|
options: {
|
|
parser: 'yaml',
|
|
singleQuote: false,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.json'],
|
|
options: {
|
|
tabWidth: 4,
|
|
},
|
|
},
|
|
],
|
|
}
|