paperless-ngx/src-ui/.eslintrc.json
shamoon e8905c1c5e pngx-pdf-viewer based on ng2-pdf-viewer with pdfjs 3.11
Squashed commit of the following:

commit 32bec8dfedbc7cbd0e2f290e1fd9ceaaa7a94366
Author: shamoon <4887959+shamoon@users.noreply.github.com>
Date:   Thu Nov 30 12:38:19 2023 -0800

    Correctly include pdf worker js

commit 48aedbb2b9983a45ee319bc8fa1518d430c4a81b
Author: shamoon <4887959+shamoon@users.noreply.github.com>
Date:   Thu Nov 30 08:30:53 2023 -0800

    Update angular.json

commit 23db5031632290e42e15a4eb46e2f0c72a6dadd9
Author: shamoon <4887959+shamoon@users.noreply.github.com>
Date:   Thu Nov 30 00:43:08 2023 -0800

    Update pdf-viewer.component.ts

commit b01a18526e7df893d7ab09e491470f4bd2c3abeb
Author: shamoon <4887959+shamoon@users.noreply.github.com>
Date:   Wed Nov 29 22:50:33 2023 -0800

    pngx-pdf-viewer based on ng2-pdf-viewer with pdfjs 3.11

    Implement zoom
2023-11-30 14:25:14 -08:00

53 lines
1.0 KiB
JSON

{
"root": true,
"ignorePatterns": [
"projects/**/*",
"/src/app/components/common/pdf-viewer/**"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "pngx",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "pngx",
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}