diff options
author | Vitaly Takmazov | 2023-03-07 13:17:32 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-03-07 13:17:32 +0300 |
commit | e7bd4e7eda8869f1b0db87d04c8271ebd7100150 (patch) | |
tree | 24adf036f80a0d91947687f924c3681fd2e824f6 | |
parent | 5d31fffc321717afb6c0cbb0f5dab9bd8f844eda (diff) |
Cleanup some linter errors and warnings
-rw-r--r-- | .stylelintrc.json | 3 | ||||
-rw-r--r-- | vnext/server/webpack.config.js | 2 | ||||
-rw-r--r-- | vnext/webpack.config.js | 2 | ||||
-rw-r--r-- | 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 = { |