libpdfviewer/.eslintrc.json
2023-06-09 11:33:53 -04:00

41 lines
719 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": {
"pdfjsLib": "readonly",
"channel": "readonly"
},
"ignorePatterns": [
"pdf.js",
"pdf.worker.js"
]
}