A very hacky Matrix-LINE bridge based on running LINE's Chrome extension in Puppeteer.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
matrix-puppeteer-line/puppet/.eslintrc.json

189 lines
2.5 KiB

{
"env": {
"es6": true,
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"import",
"react-hooks"
],
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double",
{
"avoidEscape": true
}
],
"semi": [
"error",
"never"
],
"comma-dangle": [
"error",
"only-multiline"
],
"comma-spacing": [
"error",
{
"after": true
}
],
"eol-last": [
"error",
"always"
],
"no-trailing-spaces": [
"error"
],
"camelcase": [
"error",
{
"properties": "always"
}
],
"import/no-unresolved": "off",
"import/named": "error",
"import/namespace": "error",
"import/default": "error",
"import/export": "error",
"import/order": [
"error",
{
"newlines-between": "always",
"groups": [
"builtin",
"external",
[
"internal",
"sibling",
"parent"
],
"index"
]
}
],
"max-len": [
"error",
{
"code": 100
}
],
"prefer-const": [
"error",
{
"destructuring": "all",
"ignoreReadBeforeAssign": false
}
],
"arrow-spacing": [
"error",
{
"before": true,
"after": true
}
],
"space-before-blocks": [
"error",
"always"
],
"object-curly-spacing": [
"error",
"always"
],
"array-bracket-spacing": [
"error",
"never"
],
"space-in-parens": [
"error",
"never"
],
"keyword-spacing": [
"error",
{
"before": true,
"after": true
}
],
"key-spacing": [
"error",
{
"afterColon": true
}
],
"template-curly-spacing": [
"error",
"never"
],
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"arrow-body-style": [
"error",
"as-needed"
],
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxBOF": 0,
"maxEOF": 0
}
],
"no-prototype-builtins": "off",
"dot-notation": [
"error",
{
"allowKeywords": true
}
],
"quote-props": [
"error",
"as-needed"
],
"no-multi-spaces": [
"error"
],
"space-infix-ops": [
"error"
],
"object-curly-newline": [
"error",
{
"multiline": true,
"consistent": true
}
],
"no-mixed-operators": [
"error"
],
"no-extra-parens": [
"error",
"all",
{
"nestedBinaryExpressions": false
}
]
}
}