module.exports = {
    extends: ["eslint:recommended", "prettier"],
    root: true,
    env: {
        es6: "true",
        browser: true,
        node: true,
        jest: true,
    },
    parser: "@babel/eslint-parser",
    ignorePatterns: [],
    rules: {
        "no-debugger": 1,
        "no-duplicate-imports": 1,
        // Do keep due avoid unintendet consequences.
        "no-alert": 0,
        "no-control-regex": 0,
        "no-self-assign": 0,
        "no-useless-escape": 0,
    },
    globals: {
        spyOn: true, // eventually replace with jest.spyOn and then fix a ton of test failures.
    },
};

module.exports = require("@patternslib/dev/.eslintrc.js");

Extend eslint config from @patternslib/dev.
breaking: Extend eslint config from @patternslib/dev.
