mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-25 08:29:06 -06:00
50 lines
978 B
JSON
50 lines
978 B
JSON
{
|
|
"eslint.alwaysShowStatus": true,
|
|
"eslint.autoFixOnSave": true,
|
|
"eslint.validate": [
|
|
{
|
|
"language": "javascript",
|
|
"autoFix": true
|
|
},
|
|
{
|
|
"language": "javascriptreact",
|
|
"autoFix": true
|
|
},
|
|
{
|
|
"language": "typescript",
|
|
"autoFix": true
|
|
},
|
|
{
|
|
"language": "typescriptreact",
|
|
"autoFix": true
|
|
},
|
|
{
|
|
"language": "json",
|
|
"autoFix": true
|
|
},
|
|
{
|
|
"language": "coffeescript",
|
|
"autoFix": false
|
|
},
|
|
],
|
|
"eslint.enable": true,
|
|
// this project does not use Prettier
|
|
// thus set all settings to disable accidentally running Prettier
|
|
"prettier.requireConfig": true,
|
|
"prettier.disableLanguages": [
|
|
"javascript",
|
|
"javascriptreact",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"json"
|
|
],
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": true
|
|
},
|
|
"[coffeescript]": {
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": false
|
|
}
|
|
}
|
|
}
|