Implement a no sync rule (#7216)

* implement a no sync rule

* fix linting disable

* fix unused imports

* exclude more testing

* clean up fs usage

* clean up more fs usage

* remove duplicate of code

* fix compile errors
This commit is contained in:
Anthony Dresser
2019-09-17 13:32:42 -07:00
committed by GitHub
parent 4d62983680
commit 28d453fced
31 changed files with 305 additions and 201 deletions

View File

@@ -229,6 +229,21 @@
"translation-remind": true,
"no-standalone-editor": true,
"no-nls-in-standalone-editor": true,
"no-sync": [
true,
{
"exclude": [
"**/vs/**", // assume they are doing the right thing
"**/extensions/git/**", // assume they are doing the right thing,
"**/extensions/extension-editing/**", // assume they are doing the right thing,
"**/json-language-features/**", // assume they are doing the right thing,
"**/vscode-test-resolver/**", // testing doesn't matter
"**/integration-tests/**", // testing doesn't matter
"**/*.test.*", // testing doesn't matter
"**/test/**" // testing doesn't matter
]
}
],
"no-useless-strict": true
},
"defaultSeverity": "warning"