From e7bd4e7eda8869f1b0db87d04c8271ebd7100150 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 7 Mar 2023 13:17:32 +0300 Subject: Cleanup some linter errors and warnings --- .stylelintrc.json | 3 ++- vnext/server/webpack.config.js | 2 +- vnext/webpack.config.js | 2 +- webpack.config.js | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index f9fd8f59..7584873d 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -16,6 +16,7 @@ "selector-type-case": null, "selector-id-pattern": null, "selector-class-pattern": null, - "color-function-notation": "legacy" + "color-function-notation": "legacy", + "alpha-values-notation": "number" } } diff --git a/vnext/server/webpack.config.js b/vnext/server/webpack.config.js index a58f858c..364f4414 100644 --- a/vnext/server/webpack.config.js +++ b/vnext/server/webpack.config.js @@ -3,7 +3,7 @@ const ESLintPlugin = require('eslint-webpack-plugin'); const TerserPlugin = require('terser-webpack-plugin'); -module.exports = (env, argv) => { +module.exports = () => { const node_env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development'; const dev = node_env !== 'production'; const config = { diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index 16e5a135..47bf98f9 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -5,7 +5,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const TerserPlugin = require('terser-webpack-plugin'); -module.exports = (env, argv) => { +module.exports = () => { const node_env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development'; const dev = node_env !== 'production'; const config = { diff --git a/webpack.config.js b/webpack.config.js index 7361552b..5487e690 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,7 +4,7 @@ const ESLintPlugin = require('eslint-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const TerserPlugin = require('terser-webpack-plugin'); -module.exports = (env, argv) => { +module.exports = () => { const node_env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development'; const dev = node_env !== 'production'; const config = { -- cgit v1.2.3