mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
3efed87d38
Switch to the new linting package. It offers a new shared config for native JavaScript, which this package targets.
24 lines
489 B
JavaScript
24 lines
489 B
JavaScript
module.exports = {
|
|
plugins: [
|
|
"matrix-org",
|
|
],
|
|
extends: [
|
|
"plugin:matrix-org/javascript",
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 2021,
|
|
},
|
|
env: {
|
|
es6: true,
|
|
node: true,
|
|
// we also have some browser code (ie. the preload script)
|
|
browser: true,
|
|
},
|
|
rules: {
|
|
"quotes": "off",
|
|
"indent": "off",
|
|
"prefer-promise-reject-errors": "off",
|
|
"no-async-promise-executor": "off",
|
|
}
|
|
}
|