mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
5b3183cbd3
now that we can
39 lines
755 B
JavaScript
39 lines
755 B
JavaScript
module.exports = {
|
|
plugins: [
|
|
"matrix-org",
|
|
],
|
|
extends: [
|
|
"plugin:matrix-org/react",
|
|
"plugin:matrix-org/a11y",
|
|
"prettier",
|
|
],
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
},
|
|
parserOptions: {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
},
|
|
rules: {
|
|
"jsx-a11y/media-has-caption": ["off"],
|
|
},
|
|
overrides: [
|
|
{
|
|
files: [
|
|
"src/**/*.{ts,tsx}",
|
|
],
|
|
extends: [
|
|
"plugin:matrix-org/typescript",
|
|
"plugin:matrix-org/react",
|
|
"prettier",
|
|
],
|
|
},
|
|
],
|
|
settings: {
|
|
react: {
|
|
version: "detect",
|
|
},
|
|
},
|
|
};
|