This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpackage.json
200 lines (200 loc) · 4.98 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"name": "linter-phpcs",
"version": "1.8.1",
"main": "./lib/main.js",
"description": "Lint PHP on the fly, using phpcs",
"repository": {
"type": "git",
"url": "https://github.com/AtomLinter/linter-phpcs.git"
},
"private": true,
"license": "MIT",
"engines": {
"atom": ">=1.8.0 <2.0.0"
},
"configSchema": {
"executablePath": {
"type": "string",
"default": "phpcs",
"description": "Enter the path to your phpcs executable.",
"order": 1
},
"autoExecutableSearch": {
"title": "Search for executables",
"type": "boolean",
"default": true,
"description": "Automatically search for any `vendor/bin/` or `bin/` for the `phpcs` executable. Overrides the executable defined above.",
"order": 2
},
"codeStandardOrConfigFile": {
"type": "string",
"default": "PSR2",
"description": "Enter path to config file or a predefined coding standard name.",
"order": 3
},
"disableWhenNoConfigFile": {
"type": "boolean",
"default": false,
"description": "Disable the linter when the default configuration file is not found.",
"order": 4
},
"autoConfigSearch": {
"title": "Search for configuration files",
"type": "boolean",
"default": true,
"description": "Automatically search for any `phpcs.xml`, `phpcs.xml.dist`, `phpcs.ruleset.xml` or `ruleset.xml` file to use as configuration. Overrides custom standards defined above.",
"order": 5
},
"includeExtensions": {
"type": "array",
"default": [
"php",
"inc",
"lib"
],
"items": {
"type": "string"
},
"description": "Enter the file extensions to check when running PHPCS.",
"order": 6
},
"ignorePatterns": {
"type": "array",
"default": [
"**/*.blade.php",
"**/*.twig.php"
],
"items": {
"type": "string"
},
"description": "Enter Glob patterns to ignore when running PHPCS.",
"order": 7
},
"displayErrorsOnly": {
"type": "boolean",
"default": false,
"description": "Ignore warnings and display errors only.",
"order": 8
},
"warningSeverity": {
"type": "integer",
"default": 1,
"description": "Set the warning severity level. Available when \"Display Errors Only\" is not checked.",
"order": 9
},
"tabWidth": {
"type": "integer",
"default": 1,
"minimum": 1,
"description": "Set the number of spaces that tab characters represent to PHPCS.",
"order": 10
},
"showSource": {
"type": "boolean",
"default": true,
"description": "Show source in message.",
"order": 11
},
"excludedSniffs": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Command separated list of Sniffs to ignore. Ignored below PHPCS v2.6.2.",
"order": 12
},
"otherLanguages": {
"type": "object",
"collapsed": true,
"description": "If properly configured, PHPCS can run external tools to lint languages other than PHP. Only enable the below options if you have set this up.",
"order": 13,
"properties": {
"useCSSTools": {
"title": "Enable CSS Tools",
"description": "Enable sending CSS files to configured tools. **Requires configuration**",
"type": "boolean",
"default": false
},
"useJSTools": {
"title": "Enable JS Tools",
"description": "Enable sending JS files to configured tools. **Requires configuration**",
"type": "boolean",
"default": false
}
}
}
},
"dependencies": {
"atom-linter": "10.0.0",
"atom-package-deps": "7.2.3",
"minimatch": "3.0.4",
"semver": "7.3.5"
},
"devDependencies": {
"eslint": "7.23.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-plugin-import": "2.22.1",
"jasmine-fix": "1.3.1"
},
"package-deps": [
{
"name": "linter",
"minimumVersion": "2.0.0"
}
],
"scripts": {
"lint": "eslint . --fix",
"test": "atom --test ./spec",
"test.lint": "eslint ."
},
"providedServices": {
"linter": {
"versions": {
"2.0.0": "provideLinter"
}
}
},
"eslintConfig": {
"extends": "airbnb-base",
"rules": {
"global-require": "off",
"import/no-unresolved": [
"error",
{
"ignore": [
"atom"
]
}
]
},
"globals": {
"atom": true
},
"env": {
"node": true,
"browser": true
}
},
"release": {
"extends": "@semantic-release/apm-config"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"renovate": {
"extends": [
"config:base"
],
"packageRules": [
{
"packagePatterns": [
"^eslint"
],
"groupName": "ESLint packages"
}
]
}
}