mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Use standard (eslint's) 'env' field over globals
Test Plan: ensure every removed global is a part of an added `env` from https://github.com/sindresorhus/globals/blob/master/globals.json run `./script/lint`
This commit is contained in:
25
package.json
25
package.json
@@ -174,27 +174,14 @@
|
||||
"test": "node script/test"
|
||||
},
|
||||
"standard": {
|
||||
"env": {
|
||||
"atomtest": true,
|
||||
"browser": true,
|
||||
"jasmine": true,
|
||||
"node": true
|
||||
},
|
||||
"globals": [
|
||||
"atom",
|
||||
"afterEach",
|
||||
"beforeEach",
|
||||
"describe",
|
||||
"fdescribe",
|
||||
"xdescribe",
|
||||
"expect",
|
||||
"it",
|
||||
"fit",
|
||||
"xit",
|
||||
"jasmine",
|
||||
"runs",
|
||||
"spyOn",
|
||||
"waitsFor",
|
||||
"waitsForPromise",
|
||||
"indexedDB",
|
||||
"IntersectionObserver",
|
||||
"FocusEvent",
|
||||
"requestAnimationFrame",
|
||||
"HTMLElement",
|
||||
"snapshotResult"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user