diff options
author | mhatvan <markus_hatvan@aon.at> | 2021-07-30 19:48:40 +0200 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-07-30 23:06:24 +0000 |
commit | 41d3410efb83d18e81b580dd9acc7da2eee226d6 (patch) | |
tree | 65249a87c9f464ec670273b3f994cca8066587c7 /.eslintrc | |
parent | chore: migrate from tslint to @typescript-eslint (#1706) (diff) | |
download | ferdium-app-41d3410efb83d18e81b580dd9acc7da2eee226d6.tar.gz ferdium-app-41d3410efb83d18e81b580dd9acc7da2eee226d6.tar.zst ferdium-app-41d3410efb83d18e81b580dd9acc7da2eee226d6.zip |
chore: cleanup and improve dependencies
- removed `@meetfranz/typings` because it only stubbed external type definitions
- removed `@babel/polyfill` because there are no old browsers in use with Electron
- replaced deprecated `mdi` with `@mdi/font`
- removed unused `atob`, `btoa`, `targz`, `node-fetch`, `terser-webpack-plugin`, `webpack-node-externals`
- added used, but not installed dependencies `color`, `csstype`, `debug`, `minimist`, `jss`
- upgraded `@types/node` to match used node version
- upgraded `@types/fs-extra` to match fs-extra version
- add missing `arrow-parens` rule to `.eslintrc` rulest for .js files
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -95,7 +95,7 @@ | |||
95 | }, | 95 | }, |
96 | "rules": { | 96 | "rules": { |
97 | // eslint | 97 | // eslint |
98 | "prefer-destructuring": 1, | 98 | "arrow-parens": 0, |
99 | "class-methods-use-this": 1, | 99 | "class-methods-use-this": 1, |
100 | "consistent-return": 1, | 100 | "consistent-return": 1, |
101 | "max-len": 0, | 101 | "max-len": 0, |
@@ -103,6 +103,7 @@ | |||
103 | "no-restricted-syntax": 0, | 103 | "no-restricted-syntax": 0, |
104 | "no-underscore-dangle": 0, | 104 | "no-underscore-dangle": 0, |
105 | "operator-linebreak": 0, | 105 | "operator-linebreak": 0, |
106 | "prefer-destructuring": 1, | ||
106 | // eslint-plugin-import | 107 | // eslint-plugin-import |
107 | "import/extensions": 1, | 108 | "import/extensions": 1, |
108 | "import/prefer-default-export": 0, | 109 | "import/prefer-default-export": 0, |