diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-11-03 00:51:34 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-12-19 02:07:03 +0100 |
commit | cbc8638c38bccd4ac7b787ac4d79de4bf2b6a0a0 (patch) | |
tree | ec976a0dafcfef8dbadb89621220932f15e93cdc /dist | |
parent | 5d79c6466386862e70ce276a094c1897112b7491 (diff) | |
download | jquery-cbc8638c38bccd4ac7b787ac4d79de4bf2b6a0a0.tar.gz jquery-cbc8638c38bccd4ac7b787ac4d79de4bf2b6a0a0.zip |
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).
Diffstat (limited to 'dist')
-rw-r--r-- | dist/.eslintrc.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dist/.eslintrc.json b/dist/.eslintrc.json index b99e682f4..a15539adb 100644 --- a/dist/.eslintrc.json +++ b/dist/.eslintrc.json @@ -1,5 +1,8 @@ { - "extends": "../src/.eslintrc.json", + "root": true, + + "extends": "../.eslintrc-browser.json", + "rules": { // That is okay for the built version "no-multiple-empty-lines": "off", |