]> source.dussan.org Git - jquery.git/commit
Build: ESLint setup improvements
authorMichał Gołębiowski <m.goleb@gmail.com>
Wed, 2 Nov 2016 23:51:34 +0000 (00:51 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Mon, 19 Dec 2016 01:07:03 +0000 (02:07 +0100)
commitcbc8638c38bccd4ac7b787ac4d79de4bf2b6a0a0
treeec976a0dafcfef8dbadb89621220932f15e93cdc
parent5d79c6466386862e70ce276a094c1897112b7491
Build: ESLint setup improvements

1. Use the short name of the preset in the config.
2. Run ESLint first on non-minified files.
3. Explicitly specify environments in every config file (those settings cascade
which means we've been assuming a Node.js environment where we shouldn't have).
.eslintrc-browser.json [new file with mode: 0644]
.eslintrc-node.json [new file with mode: 0644]
.eslintrc.json
Gruntfile.js
dist/.eslintrc.json
src/.eslintrc.json
test/.eslintrc.json
test/node_smoke_tests/.eslintrc.json
test/promises_aplus_adapters/.eslintrc.json