1 | module.exports = {
|
2 | env: {
|
3 | browser: true,
|
4 | es6: true,
|
5 | mocha: true,
|
6 | jest: true,
|
7 | node: true,
|
8 | },
|
9 | extends: [
|
10 | 'eslint:recommended',
|
11 | 'plugin:@typescript-eslint/eslint-recommended',
|
12 | 'prettier/@typescript-eslint',
|
13 | 'plugin:prettier/recommended',
|
14 | ],
|
15 | globals: {
|
16 | Atomics: 'readonly',
|
17 | SharedArrayBuffer: 'readonly',
|
18 | },
|
19 | parser: '@typescript-eslint/parser',
|
20 | parserOptions: {
|
21 | ecmaVersion: 2018,
|
22 | sourceType: 'module',
|
23 | },
|
24 | plugins: ['@typescript-eslint', 'prettier'],
|
25 | rules: {
|
26 | 'no-unused-vars': 0,
|
27 | "@typescript-eslint/no-unused-vars": ["error", { "args": "none" }]
|
28 | },
|
29 | }
|