627a566c2f
This improves maintainability: 1. no need to hardcode each script file in Android code 2. no need to symlink pdf.js and pdf.worker.js 3. adds sourcemaps in debug builds to help debug some pdf.js related issues
40 lines
698 B
JSON
40 lines
698 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2022": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2022,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"no-var": [
|
|
"error"
|
|
]
|
|
},
|
|
"globals": {
|
|
"channel": "readonly"
|
|
},
|
|
"ignorePatterns": [
|
|
"/app/src/*/assets/viewer",
|
|
"build/"
|
|
]
|
|
}
|