diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-07-19 16:15:04 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-07-19 16:15:04 +0200 |
| commit | 922c84801acf931a5a29e95a08486f6df46a1fc2 (patch) | |
| tree | a3be436cc91523b20d22f0f5542a66c004ee6964 | |
| parent | 5e5ab63b280eb446db4090733cd3ad2e97d02018 (diff) | |
chore(ui): Extend ESLint configuration
This change extends the ESLint configuration with the ESLint recommended
settings.
| -rw-r--r-- | opendc-web/opendc-web-ui/.eslintrc | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/.eslintrc b/opendc-web/opendc-web-ui/.eslintrc index c1640061..1446fa02 100644 --- a/opendc-web/opendc-web-ui/.eslintrc +++ b/opendc-web/opendc-web-ui/.eslintrc @@ -1,3 +1,16 @@ { - "extends": "next" + "extends": ["next", "eslint:recommended"], + "env": { + "browser": true, + "node": true, + "es6": true + }, + "overrides": [ + { + "files": ["src/**/*.test.js"], + "env": { + "jest": true + } + } + ] } |
