forked from iTwin/itwinjs-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
119 lines (119 loc) · 3 KB
/
settings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// Place your settings in this file to overwrite default and user settings.
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/.nyc_output": true,
"**/.rush": true
},
"files.exclude": {
"**/.nyc_output": true,
"**/.rush": true,
"**/*.build.log": true,
"**/*.build.error.log": true,
"**/generated-docs": true,
"**/package-deps.json": true,
"**/node_modules": true,
"**/test-apps/**/build": true,
"**/out": true,
"**/lib": true,
"common/temp": true
},
"files.trimTrailingWhitespace": true,
"typescript.tsdk": "node_modules\\typescript\\lib",
"files.associations": {
"*.snap": "javascript",
".nycrc": "json",
"certa.json": "jsonc"
},
"cSpell.enableFiletypes": [
"c",
"cpp",
"csharp",
"go",
"html",
"javascript",
"javascriptreact",
"latex",
"markdown",
"php",
"plaintext",
"python",
"text",
"typescript",
"typescriptreact",
"xml",
"yml"
],
"json.schemas": [
{
"fileMatch": [
"certa.json"
],
"url": "./tools/certa/certa.schema.json"
},
],
"markdownlint.config": {
"MD024": {
"allow_different_nesting": true
},
},
"markdownlint.ignore": [
"**/CHANGELOG.md"
],
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
],
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"eslint.options": {
"configFile": "./package.json",
"useEslintrc": false,
"resolvePluginsRelativeTo": "./node_modules/@bentley/eslint-plugin"
},
"importSorter.importStringConfiguration.quoteMark": "double",
"importSorter.generalConfiguration.sortImportsInDirectory": false,
"importSorter.generalConfiguration.sortOnBeforeSave": false,
"importSorter.importStringConfiguration.trailingComma": "multiLine",
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.count": 150,
"importSorter.importStringConfiguration.tabSize": 2,
"importSorter.sortConfiguration.removeUnusedImports": true,
"importSorter.sortConfiguration.customOrderingRules.rules": [
{
"type": "importMember",
"regex": "^$",
"orderLevel": 5,
"disableSort": true
},
{
"regex": "^[^.@]",
"orderLevel": 10
},
{
"regex": "^[@]",
"orderLevel": 15
},
{
"regex": "^[.]",
"orderLevel": 30
}
],
"importSorter.sortConfiguration.customOrderingRules.defaultNumberOfEmptyLinesAfterGroup": 0,
"debug.internalConsoleOptions": "openOnSessionStart",
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.markdownlint": true, // first run the markdown linter
"editor.action.fixAll": true, // Run the default formatter before eslint, it handles whitespace better
"source.fixAll.eslint": true // then run ESLint auto-fix
}
}