-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
155 lines (155 loc) · 4.39 KB
/
package.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "coc-stylelintplus",
"version": "1.4.1",
"description": "stylelint extension for coc.nvim supporting additional features",
"keywords": [
"stylelint",
"lsp",
"language server",
"multi-root ready",
"coc.nvim"
],
"repository": {
"type": "git",
"url": "https://github.com/bmatcuk/coc-stylelintplus"
},
"author": "Bob Matcuk <[email protected]> (https://squeg.net)",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"clean": "rimraf dist",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"prepare": "run-s clean build",
"watch": "tsc -w -p tsconfig.build.json"
},
"engines": {
"coc": "^0.0.15"
},
"activationEvents": [
"*"
],
"contributes": {
"configuration": {
"type": "object",
"title": "stylelintplus",
"properties": {
"stylelintplus.autoFixOnFormat": {
"description": "Auto-fix on format request.",
"scope": "resource",
"type": "boolean",
"default": false
},
"stylelintplus.autoFixOnSave": {
"description": "Auto-fix and format on save.",
"scope": "resource",
"type": "boolean",
"default": false
},
"stylelintplus.config": {
"description": "Stylelint config. If config and configFile are unset, stylelint will automatically look for a config file.",
"scope": "resource",
"type": "object",
"default": null
},
"stylelintplus.configFile": {
"description": "Stylelint config file. If config and configFile are unset, stylelint will automatically look for a config file.",
"scope": "resource",
"type": "string",
"default": null
},
"stylelintplus.configOverrides": {
"description": "Stylelint config overrides. These will be applied on top of the config, configFile, or auto-discovered config file loaded by stylelint.",
"scope": "resource",
"type": "object",
"default": null
},
"stylelintplus.cssInJs": {
"description": "Run stylelint on javascript/typescript files.",
"scope": "window",
"type": "boolean",
"default": false
},
"stylelintplus.enable": {
"description": "If false, stylelint will not validate the file.",
"scope": "resource",
"type": "boolean",
"default": true
},
"stylelintplus.filetypes": {
"description": "Filetypes that coc-stylelintplus will lint.",
"scope": "window",
"type": "array",
"items": {
"type": "string"
},
"default": [
"css",
"less",
"postcss",
"scss",
"sugarss",
"vue",
"wxss"
]
},
"stylelintplus.trace.server": {
"description": "Capture trace messages from the server.",
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off"
},
"stylelintplus.validateOnSave": {
"description": "Validate after saving. Automatically enabled if autoFixOnSave is enabled.",
"scope": "resource",
"type": "boolean",
"default": false
},
"stylelintplus.validateOnType": {
"description": "Validate after making changes.",
"scope": "resource",
"type": "boolean",
"default": true
}
}
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{j,t}s?(x)": "eslint --fix"
},
"devDependencies": {
"@types/node": "~14.14.16",
"@typescript-eslint/eslint-plugin": "~4.14.0",
"@typescript-eslint/parser": "~4.14.0",
"coc.nvim": "~0.0.80",
"eslint": "~7.18.0",
"eslint-config-prettier": "~7.2.0",
"eslint-plugin-prettier": "~3.3.0",
"eslint_d": "~9.1.2",
"husky": "~4.3.6",
"lint-staged": "~10.5.3",
"npm-run-all": "~4.1.5",
"prettier": "~2.2.1",
"rimraf": "~3.0.2",
"typescript": "~4.1.3",
"vscode-languageserver-protocol": "~3.16.0"
},
"dependencies": {
"stylelint-lsp": "~1.2.1",
"tslib": "^2.0.3"
}
}