2024-02-01 15:48:47 -05:00
|
|
|
module.exports = {
|
2024-02-01 17:48:30 -05:00
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2021: true
|
|
|
|
},
|
2024-04-18 00:34:40 -04:00
|
|
|
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
2024-02-01 17:48:30 -05:00
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
files: [".eslintrc.{js,cjs}"],
|
|
|
|
parserOptions: {
|
|
|
|
sourceType: "script"
|
|
|
|
}
|
2024-02-01 15:48:47 -05:00
|
|
|
}
|
2024-02-01 17:48:30 -05:00
|
|
|
],
|
2024-04-18 00:34:40 -04:00
|
|
|
parser: "@typescript-eslint/parser",
|
2024-02-01 17:48:30 -05:00
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: "latest",
|
|
|
|
sourceType: "module"
|
|
|
|
},
|
2024-04-18 00:34:40 -04:00
|
|
|
plugins: ["@typescript-eslint"],
|
2024-02-01 17:48:30 -05:00
|
|
|
rules: {}
|
|
|
|
};
|