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