This website requires JavaScript.
Explore
Help
Sign In
Sakurai
/
pdf.js
Watch
1
Star
0
Fork
0
You've already forked pdf.js
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
616135962a
pdf.js
/
web
/
.eslintrc
11 lines
105 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Enable the `no-var` ESLint rule in the `/web` folder https://eslint.org/docs/rules/no-var Please note that two files were excluded: 1. `web/debugger.js`, since there's code in other files that currently depend on the global availability of code in `web/debugger.js`. Furthermore, since that file isn't used in production, doing a ES6 conversion probably isn't a priority. 2. `web/grab_to_pan.js`, since that file could be considered to be "external" code. We have made smaller changes to that file over the years, however doing a full ES6 `class` conversion might be a step too far!?
2017-11-04 21:50:58 +09:00
{
"extends": [
Fix badly formatted .eslintrc
2018-11-23 21:49:58 +09:00
"../.eslintrc"
Enable the `no-var` ESLint rule in the `/web` folder https://eslint.org/docs/rules/no-var Please note that two files were excluded: 1. `web/debugger.js`, since there's code in other files that currently depend on the global availability of code in `web/debugger.js`. Furthermore, since that file isn't used in production, doing a ES6 conversion probably isn't a priority. 2. `web/grab_to_pan.js`, since that file could be considered to be "external" code. We have made smaller changes to that file over the years, however doing a full ES6 `class` conversion might be a step too far!?
2017-11-04 21:50:58 +09:00
],
"rules": {
// ECMAScript 6
"no-var": "error",
},
}
Reference in New Issue
Copy Permalink