Switch code linter to eslint and update deps

Tslint is outdated for quite a while and has been replaced by eslint
which now can work with TypeScript as well. This also updates
dependencies and fixes all linting errors.
This commit is contained in:
Slava Bacherikov committed 2022-02-08 21:01:33 +02:00
1 parent ee5f3a8d0d
commit ea85f539d4
21 files changed
+5621 -5545

No files matched your search

+7 -5
View File
@@ -52,11 +52,13 @@ function getWebpackConfig(production, gtag) {
var plugins = [
new CleanWebpackPlugin(),
new CopyWebpackPlugin([
{from: 'assets/bootstrap.min.css', to: 'assets/'},
{from: 'assets/images/favicon.ico', to: 'favicon.ico'},
{from: 'assets/images/', to: 'assets/images/'},
]),
new CopyWebpackPlugin({
patterns: [
{from: 'assets/bootstrap.min.css', to: 'assets/'},
{from: 'assets/images/favicon.ico', to: 'favicon.ico'},
{from: 'assets/images/', to: 'assets/images/'},
]
}),
new DefinePlugin({
GOOGLE_ANALYTICS_TAG: JSON.stringify(gtag)
}),