|
|
@@ -3,25 +3,20 @@
|
|
|
|
|
|
"eslint.workingDirectories": [{ "mode": "auto" }],
|
|
|
|
|
|
- // use stylelint-plus
|
|
|
- // see https://qiita.com/y-w/items/bd7f11013fe34b69f0df#vs-code%E3%81%A8%E7%B5%84%E3%81%BF%E5%90%88%E3%82%8F%E3%81%9B%E3%82%8B
|
|
|
+ // use vscode-stylelint
|
|
|
+ // see https://github.com/stylelint/vscode-stylelint
|
|
|
+ "stylelint.validate": ["css", "less", "scss"],
|
|
|
+ "stylelint.ignoreDisables": true,
|
|
|
"css.validate": false,
|
|
|
+ "less.validate": false,
|
|
|
"scss.validate": false,
|
|
|
- "[css]": {
|
|
|
- "editor.formatOnSave": true
|
|
|
- },
|
|
|
- "[scss]": {
|
|
|
- "editor.formatOnSave": true
|
|
|
- },
|
|
|
|
|
|
- // for vscode-eslint
|
|
|
- "[javascript]": {
|
|
|
- "editor.formatOnSave": false
|
|
|
- },
|
|
|
"editor.codeActionsOnSave": {
|
|
|
"source.fixAll.eslint": true,
|
|
|
- "source.fixAll.markdownlint": true
|
|
|
+ "source.fixAll.markdownlint": true,
|
|
|
+ "source.fixAll.stylelint": true
|
|
|
},
|
|
|
+
|
|
|
"githubPullRequests.ignoredPullRequestBranches": [
|
|
|
"master"
|
|
|
]
|