Permalink
Please
sign in to comment.
Browse files
build: Update TypeScript, use @typescript-eslint (#17251)
* build: Update TypeScript to v3.3 * build: Update TypeScript, use @typescript-eslint
- Loading branch information...
Showing
with
104 additions
and 92 deletions.
- +16 −4 .eslintrc.json
- +0 −8 default_app/.eslintrc
- +0 −8 lib/.eslintrc
- +3 −2 lib/browser/api/content-tracing.js
- +2 −2 lib/browser/api/protocol.ts
- +2 −1 lib/common/api/deprecate.ts
- +73 −63 package-lock.json
- +4 −3 package.json
- +1 −0 tsconfig.json
- +3 −1 typings/internal-electron.d.ts
| @@ -1,21 +1,33 @@ | |||
| { | |||
| "extends": "standard", | |||
| "parser": "typescript-eslint-parser", | |||
| "plugins": ["typescript"], | |||
| "parser": "@typescript-eslint/parser", | |||
| "plugins": ["@typescript-eslint"], | |||
| "env": { | |||
| "browser": true | |||
| }, | |||
| "rules": { | |||
| "no-var": "error", | |||
| "no-unused-vars": 0, | |||
| "no-global-assign": 0, | |||
| "typescript/no-unused-vars": "error", | |||
| "@typescript-eslint/no-unused-vars": ["error", { | |||
| "vars": "all", | |||
| "args": "after-used", | |||
| "ignoreRestSiblings": false | |||
| }], | |||
| "prefer-const": ["error", { | |||
| "destructuring": "all" | |||
| }] | |||
| }, | |||
| "parserOptions": { | |||
| "ecmaVersion": 6, | |||
| "sourceType": "module" | |||
| } | |||
| }, | |||
| "overrides": [ | |||
| { | |||
| "files": "*.js", | |||
| "rules": { | |||
| "@typescript-eslint/no-unused-vars": "off" | |||
| } | |||
| } | |||
| ] | |||
| } | |||
Oops, something went wrong.
0 comments on commit
5581990