Formatage eslint lors de la sauvegarde
parent
5b713d1371
commit
a0f49a7eae
|
@ -1,12 +1,16 @@
|
|||
{
|
||||
"editor.formatOnSave": true,
|
||||
"spellright.language": ["fr", "en"],
|
||||
"spellright.documentTypes": ["yaml", "git-commit", "markdown"],
|
||||
"typescript.tsdk": "node_modules/typescript/lib",
|
||||
"editor.tabSize": 2,
|
||||
"eslint.enable": true,
|
||||
"cSpell.words": ["mycompanyinfrance", "smarttag"],
|
||||
"search.exclude": {
|
||||
"**/dist": true
|
||||
},
|
||||
"eslint.enable": true,
|
||||
"eslint.format.enable": true,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"lint:eslint:fix": "yarn lint:eslint --fix",
|
||||
"lint:prettier": "yarn run prettier --check \"**/*.{js,jsx,ts,tsx,yaml,yml}\"",
|
||||
"lint:prettier:fix": "yarn lint:prettier --write",
|
||||
"lint:fix": "yarn lint:eslint:fix && yarn lint:prettier:fix",
|
||||
"lint:fix": "yarn lint:eslint:fix ; yarn lint:prettier:fix",
|
||||
"lint": "yarn lint:eslintrc && yarn lint:eslint && yarn lint:prettier",
|
||||
"postinstall": "yarn workspaces foreach -piv --exclude site run prepack",
|
||||
"test": "yarn workspaces foreach run test",
|
||||
|
|
Loading…
Reference in New Issue