2023-02-24 10:39:14 +01:00
|
|
|
module.exports = {
|
|
|
|
plugins: ["matrix-org"],
|
|
|
|
extends: [".eslintrc.js"],
|
|
|
|
parserOptions: {
|
2024-01-11 19:49:20 +01:00
|
|
|
project: ["playwright/tsconfig.json"],
|
2023-02-24 10:39:14 +01:00
|
|
|
},
|
|
|
|
overrides: [
|
|
|
|
{
|
2024-01-11 19:49:20 +01:00
|
|
|
files: ["playwright/**/*.ts"],
|
2023-02-24 10:39:14 +01:00
|
|
|
extends: ["plugin:matrix-org/typescript"],
|
|
|
|
rules: {
|
|
|
|
// Things we do that break the ideal style
|
|
|
|
"prefer-promise-reject-errors": "off",
|
|
|
|
"quotes": "off",
|
|
|
|
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
// We're okay with assertion errors when we ask for them
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|