-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
156 lines (156 loc) · 5.19 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
156
{
"name": "coc-cfn-lint",
"version": "0.1.2",
"description": "cfn-lint (https://github.com/aws-cloudformation/cfn-python-lint) extension for coc.nvim",
"author": "Joe Nye ([email protected])",
"publisher": "Joe Nye ([email protected])",
"license": "MIT",
"main": "lib/index.js",
"keywords": [
"coc",
"coc.nvim",
"cfn-lint",
"cfn-python-lint"
],
"repository": {
"type": "git",
"url": "https://github.com/joenye/coc-cfn-lint.git"
},
"engines": {
"coc": "^0.0.77"
},
"bugs": {
"url": "https://github.com/joenye/coc-cfn-lint/issues"
},
"scripts": {
"clean": "rimraf lib",
"watch": "webpack --watch",
"lint": "eslint src --ext ts",
"build": "webpack",
"prepare": "npm-run-all clean build"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
"@types/js-yaml": "^4.0.5",
"@types/lodash.isequal": "^4.5.6",
"@types/node": "^17.0.42",
"@types/rc": "^1.2.1",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"coc.nvim": "^0.0.81",
"cross-spawn": "7.0.3",
"eslint": "^8.17.0",
"js-yaml": "^4.1.0",
"lodash.isequal": "^4.5.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"ts-loader": "^9.3.0",
"typescript": "^4.7.3",
"vscode-languageserver-protocol": "^3.17.1",
"vscode-languageserver-textdocument": "^1.0.5",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"activationEvents": [
"onLanguage:yaml",
"onLanguage:json"
],
"contributes": {
"configuration": {
"type": "object",
"title": "coc-cfn-lint configuration",
"properties": {
"cfnlint.path": {
"description": "Path to cfn-lint",
"type": "string",
"default": "cfn-lint"
},
"cfnlint.lintOnOpen": {
"description": "Enable linting upon opening a valid CloudFormation JSON/YAML file",
"type": "boolean",
"default": true
},
"cfnlint.lintOnSave": {
"description": "Enable linting upon saving a valid CloudFormation JSON/YAML file",
"type": "boolean",
"default": true
},
"cfnlint.detectCfnRegExps": {
"description": "Array of RegExp strings. If any of these match in a JSON/YAML file, that file will be linted. This can be useful to detect non-standard CloudFormation/SAM templates, as the built-in checks only look for standard CloudFormation/SAM template",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"cfnlint.ignoreRulesRegExps": {
"description": "Array of RegExp strings. If any of these match a cfn-lint result message, then that result is ignored. This can be useful alongside `cfnlint.config.ignoreRules`",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"cfnlint.config": {
"properties": {
"awsRegions": {
"description": "Array of AWS regions to test against. Defaults to all regions. This is useful because certain rules (such as \"E3001\") check whether resources are supported in the given regions",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"ignoreBadTemplate": {
"description": "Ignore bad template errors",
"type": "boolean",
"default": false
},
"ignoreRules": {
"description": "Array of rule ID prefixes to ignore (e.g. [\"E3\", \"E1029\"])",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"includeRules": {
"description": "Array of rule ID prefixes to include. Some checks, such as Informational checks (beginning with \"I\") are disabled by default, and can be enabled by setting this to [\"I\"]",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"customRules": {
"description": "Array of paths containing additional rules. These can be either directories containing Python file(s), or an import path to a Python module",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"includeExperimentalRules": {
"description": "Whether to include experimental rules",
"type": "boolean",
"default": false
},
"ruleConfigurations": {
"description": "Array of rule configurations (e.g. [\"E3012:strict=false\"]",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"overrideSpecPath": {
"description": "Path to a CloudFormation resource specification override file",
"type": "string",
"default": null
}
}
}
}
}
}
}