32 lines
562 B
JavaScript
32 lines
562 B
JavaScript
|
// SPDX-FileCopyrightText: 2021 Johannes Loher
|
||
|
//
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
module.exports = {
|
||
|
parser: '@typescript-eslint/parser',
|
||
|
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 2020,
|
||
|
sourceType: 'module',
|
||
|
},
|
||
|
|
||
|
env: {
|
||
|
browser: true,
|
||
|
},
|
||
|
|
||
|
extends: ['plugin:@typescript-eslint/recommended', 'plugin:jest/recommended', 'plugin:prettier/recommended'],
|
||
|
|
||
|
plugins: ['@typescript-eslint'],
|
||
|
|
||
|
rules: {},
|
||
|
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ['./*.cjs', './*.js'],
|
||
|
rules: {
|
||
|
'@typescript-eslint/no-var-requires': 'off',
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|