30 lines
504 B
Lua
30 lines
504 B
Lua
|
return {
|
||
|
cmd = { 'stylelint-lsp', '--stdio' },
|
||
|
filetypes = {
|
||
|
'css',
|
||
|
'less',
|
||
|
'scss',
|
||
|
'sugarss',
|
||
|
'vue',
|
||
|
'wxss',
|
||
|
},
|
||
|
root_markers = {
|
||
|
'.stylelintrc',
|
||
|
'.stylelintrc.cjs',
|
||
|
'.stylelintrc.js',
|
||
|
'.stylelintrc.json',
|
||
|
'.stylelintrc.yaml',
|
||
|
'.stylelintrc.yml',
|
||
|
'stylelint.config.cjs',
|
||
|
'stylelint.config.js',
|
||
|
},
|
||
|
|
||
|
settings = {
|
||
|
stylelintplus = {
|
||
|
autoFixOnFormat = true,
|
||
|
validateOnSave = true,
|
||
|
validateOnType = false,
|
||
|
},
|
||
|
},
|
||
|
}
|