1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Enable import/extensions of ESlint plugin to enforce all import have a .js file extension.

Related to #11465.

- https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
This commit is contained in:
Takashi Tamura 2020-01-16 13:32:11 +09:00
parent 40f531ee87
commit 00ce7898a2
4 changed files with 4 additions and 3 deletions

View file

@ -14,7 +14,7 @@
*/
/* eslint no-var: error */
import "./compatibility";
import "./compatibility.js";
const IDENTITY_MATRIX = [1, 0, 0, 1, 0, 0];
const FONT_IDENTITY_MATRIX = [0.001, 0, 0, 0.001, 0, 0];