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 141
/
package.json
208 lines (208 loc) · 5.56 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
201
202
203
204
205
206
207
208
{
"name": "linter-eslint",
"main": "./src/main.js",
"version": "8.3.2",
"description": "Lint JavaScript on the fly, using ESLint",
"repository": "https://github.com/AtomLinter/linter-eslint.git",
"license": "MIT",
"engines": {
"atom": ">=1.13.0 <2.0.0"
},
"configSchema": {
"lintHtmlFiles": {
"title": "Lint HTML Files",
"description": "You should also add `eslint-plugin-html` to your .eslintrc plugins",
"type": "boolean",
"default": false
},
"useGlobalEslint": {
"title": "Use global ESLint installation",
"description": "Make sure you have it in your $PATH",
"type": "boolean",
"default": false
},
"showRuleIdInMessage": {
"title": "Show Rule ID in Messages",
"type": "boolean",
"default": true
},
"disableWhenNoEslintConfig": {
"title": "Disable when no ESLint config is found (in package.json or .eslintrc)",
"type": "boolean",
"default": true
},
"eslintrcPath": {
"title": ".eslintrc Path",
"description": "It will only be used when there's no config file in project",
"type": "string",
"default": ""
},
"globalNodePath": {
"title": "Global Node Installation Path",
"description": "Write the value of `npm get prefix` here",
"type": "string",
"default": ""
},
"advancedLocalNodeModules": {
"title": "Path to the local node_modules folder",
"description": "Optionally specify the path to the local node_modules folder",
"type": "string",
"default": ""
},
"eslintRulesDir": {
"title": "ESLint Rules Dir",
"description": "Specify a directory for ESLint to load rules from",
"type": "string",
"default": ""
},
"disableEslintIgnore": {
"title": "Don't use .eslintignore files",
"type": "boolean",
"default": false
},
"disableFSCache": {
"title": "Disable FileSystem Cache",
"description": "Paths of node_modules, .eslintignore and others are cached",
"type": "boolean",
"default": false
},
"fixOnSave": {
"title": "Fix errors on save",
"description": "Have eslint attempt to fix some errors automatically when saving the file.",
"type": "boolean",
"default": false
},
"scopes": {
"title": "List of scopes to run ESLint on, run `Editor: Log Cursor Scope` to determine the scopes for a file.",
"type": "array",
"default": [
"source.js",
"source.jsx",
"source.js.jsx",
"source.babel",
"source.js-semantic"
],
"items": {
"type": "string"
}
},
"rulesToSilenceWhileTyping": {
"title": "Silence specific rules while typing",
"description": "Useful when Atom fixes errors on save like `no-trailing-spaces` or `eol-last`.",
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"rulesToDisableWhileFixing": {
"title": "Disable specific rules from fixes",
"description": "Prevent rules from being auto-fixed by ESLint. Applies to fixes made during saves as well as when running the `Linter Eslint: Fix File` command.",
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"ignoreFixableRulesWhileTyping": {
"title": "Ignore fixable rules while typing",
"description": "Have the linter ignore all fixable rules during linting when editing a document. The list is automatically updated on each lint job, and requires at least one run to be populated. Only supported when using ESLint v4+.",
"type": "boolean",
"default": false
}
},
"scripts": {
"test": "apm test",
"lint": "eslint ."
},
"dependencies": {
"atom-babel6-transpiler": "^1.1.1",
"atom-linter": "^10.0.0",
"atom-package-deps": "^4.6.0",
"babel-preset-node5": "^12.0.0",
"consistent-path": "^2.0.1",
"crypto-random-string": "^1.0.0",
"eslint": "^4.6.0",
"eslint-rule-documentation": "^1.0.18",
"fs-plus": "^3.0.1",
"resolve-env": "^1.0.0",
"user-home": "^2.0.0"
},
"devDependencies": {
"eslint-config-airbnb-base": "^12.0.0",
"eslint-plugin-import": "^2.7.0",
"jasmine-fix": "^1.3.0",
"rimraf": "^2.5.4"
},
"package-deps": [
"linter:2.0.0"
],
"providedServices": {
"linter": {
"versions": {
"2.0.0": "provideLinter"
}
}
},
"eslintConfig": {
"rules": {
"no-console": "off",
"semi": [
"error",
"never"
],
"comma-dangle": "off",
"global-require": "off",
"import/no-unresolved": [
"error",
{
"ignore": [
"atom"
]
}
],
"object-curly-newline": [
"error",
{
"ObjectExpression": {
"minProperties": 5,
"multiline": true,
"consistent": true
},
"ObjectPattern": {
"minProperties": 5,
"multiline": true,
"consistent": true
}
}
]
},
"extends": "airbnb-base",
"globals": {
"atom": "true"
},
"env": {
"node": true,
"browser": true
}
},
"atomTranspilers": [
{
"glob": "{src,spec}/*.js",
"transpiler": "atom-babel6-transpiler",
"options": {
"setBabelEnv": false,
"babel": {
"presets": [
"node5"
],
"sourceMaps": "inline",
"babelrc": false
},
"cacheKeyFiles": [
"package.json"
]
}
}
]
}