Build: Add `exports` to package.json, export slim & esm builds
[jquery.git] / dist / .eslintrc.json
blob8c8003239c0232c533ddc29f0608c38e2bcf8ecd
2         "root": true,
4         "parserOptions": {
5                 "ecmaVersion": 5,
6                 "sourceType": "script"
7         },
9         "globals": {
10                 "define": false,
11                 "module": true,
12                 "Symbol": false
13         },
15         "overrides": [
16                 {
17                         "files": "jquery{,.slim}.min.js",
19                         "parserOptions": {
20                                 "ecmaVersion": 5,
21                                 "sourceType": "script"
22                         }
23                 },
25                 {
26                         "files": "jquery{,.slim}.js",
27                         "extends": "../.eslintrc-browser.json",
29                         "rules": {
31                                 // That is okay for the built version
32                                 "no-multiple-empty-lines": "off",
34                                 // When custom compilation is used, the version string
35                                 // can get large. Accept that in the built version.
36                                 "max-len": "off",
37                                 "one-var": "off"
38                         }
39                 }
40         ]