mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 15:34:59 +01:00
23 lines
673 B
JavaScript
23 lines
673 B
JavaScript
|
module.exports = {
|
||
|
plugins: ["matrix-org"],
|
||
|
extends: [".eslintrc.js"],
|
||
|
parserOptions: {
|
||
|
project: ["test/tsconfig.json"],
|
||
|
},
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ["test/**/*.ts"],
|
||
|
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",
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|