mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Prevent use of optional chaining and nullish coalescing in the src/shared/
folder
Given that this code is used on the worker-thread, where SystemJS is still used during development, we need to (for now) handle this folder the same way as the `src/core/` one.
This commit is contained in:
parent
c293fc2b8f
commit
666535be47
1 changed files with 13 additions and 0 deletions
13
src/shared/.eslintrc
Normal file
13
src/shared/.eslintrc
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2017,
|
||||
},
|
||||
|
||||
"extends": [
|
||||
"../.eslintrc"
|
||||
],
|
||||
|
||||
"env": {
|
||||
"es2017": true,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue