-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcoc-settings.json
77 lines (68 loc) · 2.17 KB
/
coc-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
{
// Préférences de base
"coc.preferences.formatOnSave": false,
"coc.preferences.extensionUpdateCheck": "daily",
"coc.preferences.messageLevel": "error",
// Suggestions
"suggest.noselect": false,
"suggest.timeout": 5000,
"suggest.triggerAfterInsertEnter": true,
"suggest.enablePreselect": true,
"suggest.detailField": "preview",
"suggest.snippetIndicator": "🔥",
// Diagnostics
"diagnostic.errorSign": "✗",
"diagnostic.warningSign": "⚠",
"diagnostic.infoSign": "i",
"diagnostic.hintSign": "➤",
"diagnostic.checkCurrentLine": true,
"diagnostic.virtualTextPrefix": " ❯❯❯ ",
// TypeScript/JavaScript
"typescript.suggest.paths": true,
"typescript.suggestionActions.enabled": true,
"typescript.preferences.importModuleSpecifier": "relative",
"typescript.updateImportsOnFileMove.enabled": "always",
"typescript.suggest.autoImports": true,
"javascript.suggest.paths": true,
"javascript.suggestionActions.enabled": true,
"javascript.updateImportsOnFileMove.enabled": "always",
// HTML/CSS
"html.format.enable": true,
"html.autoClosingTags": true,
"css.validate": true,
"css.lint.unknownAtRules": "ignore",
/* "eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"angular"
],
*/
// ESLint & Prettier
"eslint.autoFixOnSave": false,
"eslint.validate": [],
"eslint.enable": true,
"eslint.onIgnoredFiles": "off",
"eslint.quiet": true,
"eslint.options": { "overrideConfigFile": null },
"eslint.probe": [],
"diagnostic.level": "hint",
"prettier.singleQuote": true,
"prettier.semi": false,
"prettier.printWidth": 100,
"prettier.trailingComma": "es5",
"prettier.tabWidth": 2,
"prettier.endOfLine": "lf",
// TypeScript/Angular
// "typescript.inlayHints.parameterNames.enabled": "literals",
"typescript.inlayHints.parameterTypes.enabled": false,
"typescript.inlayHints.propertyDeclarationTypes.enabled": false,
"typescript.preferences.quoteStyle": "single",
// Angular
"angular.trace.server": "messages",
// Espaces de travail
"workspace.ignoredFolders": ["$HOME", "**/.git/**", "**/node_modules/**", "**/dist/**"],
}