fix: bug (#7435)
[openemr.git] / .eslintrc.json
blobb5b07f6ddb32b47551ba411c3ab8712fdd96f0e1
2     "env": {
3         "browser": true,
4         "commonjs": true,
5         "es6": true,
6         "jquery": true,
7         "jest/globals": true
8     },
9     "extends": ["eslint:recommended"],
10     "globals": {
11         "Atomics": "readonly",
12         "SharedArrayBuffer": "readonly"
13     },
14     "parserOptions": {
15         "ecmaVersion": "latest",
16         "sourceType": "module"
17     },
18     "rules": {
19         "no-undef": "warn",
20         "no-unused-vars": "warn",
21         "no-redeclare": "warn"
22     },
23     "overrides": [
24         {
25             "files": "**/*.spec.js",
26             "plugins": ["jest"],
27             "extends": ["plugin:jest/recommended"]
28         }
29     ]