2022-05-16 02:08:27 +02:00
|
|
|
// SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2020,
|
|
|
|
sourceType: 'module',
|
|
|
|
},
|
|
|
|
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
},
|
|
|
|
|
2022-05-16 02:16:57 +02:00
|
|
|
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
|
2022-05-16 02:08:27 +02:00
|
|
|
|
|
|
|
plugins: ['@typescript-eslint'],
|
|
|
|
|
|
|
|
rules: {},
|
|
|
|
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ['./*.cjs', './*.js'],
|
|
|
|
rules: {
|
|
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|