2021-06-26 22:02:00 +02:00
|
|
|
// SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2020-12-23 17:26:53 +01:00
|
|
|
module.exports = {
|
2021-03-03 04:27:14 +01:00
|
|
|
parser: "@typescript-eslint/parser",
|
2023-07-10 22:01:53 +02:00
|
|
|
parserOptions: { ecmaVersion: 2020, sourceType: "module" },
|
|
|
|
env: { browser: true },
|
|
|
|
extends: ["plugin:@typescript-eslint/recommended", "prettier"],
|
2022-08-22 22:05:14 +02:00
|
|
|
plugins: ["@typescript-eslint"],
|
2021-03-17 12:15:25 +01:00
|
|
|
overrides: [
|
2023-07-10 22:01:53 +02:00
|
|
|
{ files: ["./*.cjs"], rules: { "@typescript-eslint/no-var-requires": "off" } },
|
|
|
|
{ files: ["./spec/**/*"], env: { browser: false } },
|
2021-03-17 12:15:25 +01:00
|
|
|
],
|
2020-12-23 17:26:53 +01:00
|
|
|
};
|