3fc2d6a867
The template_*.js files should get cached now. The phrase API results might get cached now. Solved an edge case in the attachment parser where a redirect is triggered on a HTTPS site when the attachment is posted as a HTTP URL. Fixed runHook in the JS files.
31 lines
665 B
JSON
31 lines
665 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es6": true,
|
|
"node": false
|
|
},
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-const-assign": "warn",
|
|
"no-this-before-super": "warn",
|
|
"no-undef": "warn",
|
|
"no-unreachable": "warn",
|
|
"no-unused-vars": "warn",
|
|
"constructor-super": "warn",
|
|
"valid-typeof": "warn"
|
|
},
|
|
"globals": {
|
|
"$": true,
|
|
"addHook": true,
|
|
"runHook": true,
|
|
"addInitHook": true,
|
|
"runInitHook": true,
|
|
"loadScript": true
|
|
}
|
|
} |