cattr-app/frontend-application

View on GitHub
vue.config.js

Summary

Maintainability
A
0 mins
Test Coverage

Replace ············ with ······
Open

            scss: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Definition for rule 'vue/attributes-order' was not found
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'webpack-bundle-analyzer') with "webpack-bundle-analyzer")⏎··
Open

const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ··
Open

    css: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ····env·=·{·...env,·...require(resolve(__dirname,·'app',·'etc',·'env.local.js')) with ··env·=·{⏎····...env,⏎····...require(resolve(__dirname,·"app",·"etc",·"env.local.js"))⏎·
Open

    env = { ...env, ...require(resolve(__dirname, 'app', 'etc', 'env.local.js')) };
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················ with ········
Open

                prependData: `
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ····
Open

        },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'path' with "path"
Open

const { resolve } = require('path');
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'app',·'etc',·'env.local.js' with "app",·"etc",·"env.local.js"
Open

if (existsSync(resolve(__dirname, 'app', 'etc', 'env.local.js'))) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········ with ····
Open

        sourceMap: isDevMod,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace './webpack/CattrWebpackPlugin' with "./webpack/CattrWebpackPlugin"
Open

const CattrWebpackPlugin = require('./webpack/CattrWebpackPlugin');
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ····env·=·{·...env,·...require(resolve(__dirname,·'app',·'etc',·env.${process.env.NODE_ENV}.js)) with ··env·=·{⏎····...env,⏎····...require(resolve(⏎······__dirname,⏎······"app",⏎······"etc",⏎······env.${process.env.NODE_ENV}.js⏎····))⏎·
Open

    env = { ...env, ...require(resolve(__dirname, 'app', 'etc', `env.${process.env.NODE_ENV}.js`)) };
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ··process.env.NODE_ENV·=·'development' with process.env.NODE_ENV·=·"development"
Open

    process.env.NODE_ENV = 'development';
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ····
Open

        loaderOptions: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ··
Open

    process.env[`VUE_APP_${p}`] = env[p];
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············app:·'./app/main.js', with ······app:·"./app/main.js"
Open

            app: './app/main.js',
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'development' with "development"
Open

const isDevMod = process.env.NODE_ENV === 'development';
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········}, with ····}
Open

        },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'webpack' with "webpack"
Open

const webpack = require('webpack');
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace existsSync(resolve(__dirname,·'app',·'etc',·env.${process.env.NODE_ENV}.js)) with ⏎··existsSync(resolve(__dirname,·"app",·"etc",·env.${process.env.NODE_ENV}.js))⏎
Open

if (existsSync(resolve(__dirname, 'app', 'etc', `env.${process.env.NODE_ENV}.js`))) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ····
Open

        extract: !isDevMod,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'fs' with "fs"
Open

const { existsSync } = require('fs');
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············}, with ······}
Open

            },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ··
Open

    transpileDependencies: [/(.+)-cattr-module/gi],
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ········
Open

                sourceMap: false,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········devtool:·isDevMod·?·'eval-source-maps'·:·'' with ····devtool:·isDevMod·?·"eval-source-maps"·:·""
Open

        devtool: isDevMod ? 'eval-source-maps' : '',
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········ with ····
Open

        entry: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'mini-css-extract-plugin' with "mini-css-extract-plugin"
Open

const MiniCssExtractPlugin = require('mini-css-extract-plugin');
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'app',·'etc',·'env.js' with "app",·"etc",·"env.js"
Open

let env = require(resolve(__dirname, 'app', 'etc', 'env.js'));
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ···· with ··
Open

    },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Use the latest vue-eslint-parser. See also https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
Open

if (process.env.NODE_ENV === undefined) {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ,
Open

                `,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ··
Open

    configureWebpack: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················_app:·resolve(__dirname,·'app' with ········_app:·resolve(__dirname,·"app"
Open

                _app: resolve(__dirname, 'app'),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········ with ····
Open

        plugins: [
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········filename:·'[name].css' with filename:·"[name].css"
Open

                filename: '[name].css',
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ········
Open

                {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ································ with ················
Open

                                hmr: isDevMod,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ····}, with ··}
Open

    },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············hints:·isDevMod·?·false·:·'warning' with ······hints:·isDevMod·?·false·:·"warning"
Open

            hints: isDevMod ? false : 'warning',
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················chunkFilename:·'[id].css' with ········chunkFilename:·"[id].css"
Open

                chunkFilename: '[id].css',
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ···················· with ··········
Open

                    use: [
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············'css-loader', with "css-loader"
Open

                        'css-loader',
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········ with ····
Open

        },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ······
Open

            new BundleAnalyzerPlugin({
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········ with ····
Open

        resolve: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············ with ······
Open

            alias: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ····
Open

        optimization: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ······
Open

            new CattrWebpackPlugin(),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············ with ······
Open

            rules: [
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ························ with ············
Open

                        {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ····
Open

        module: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ···························· with ··············
Open

                            options: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········chunks:·'all' with chunks:·"all"
Open

                chunks: 'all',
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············}, with ······}
Open

            },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········ with ····
Open

        },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············new·webpack.ContextReplacementPlugin(/moment[\/\\]locale$/,·/en|ru|da/), with ······new·webpack.ContextReplacementPlugin(/moment[\/\\]locale$/,·/en|ru|da/)
Open

            new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en|ru|da/),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ····························}, with ··············}
Open

                            },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············maxEntrypointSize:·2000000, with ······maxEntrypointSize:·2000000
Open

            maxEntrypointSize: 2000000,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················ignoreOrder:·true, with ········ignoreOrder:·true
Open

                ignoreOrder: true,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············], with ······]
Open

            ],
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ········}, with ····}
Open

        },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················'@':·resolve(__dirname,·'app',·'core' with ········"@":·resolve(__dirname,·"app",·"core"
Open

                '@': resolve(__dirname, 'app', 'core'),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················openAnalyzer:·false, with ········openAnalyzer:·false
Open

                openAnalyzer: false,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················maxSize:·500000, with ········maxSize:·500000
Open

                maxSize: 500000,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············ with ······
Open

            }),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ····
Open

        ],
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ············
Open

                        },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ····
Open

        },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ······
Open

            }),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············}, with ······}
Open

            },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ····
Open

        performance: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················analyzerMode:·isDevMod·&&·process.env.npm_lifecycle_event·!==·'build'·?·'server'·:·'disabled' with ········analyzerMode:·isDevMod·&&·process.env.npm_lifecycle_event·!==·"build"⏎··········?·"server"⏎··········:·"disabled"
Open

                analyzerMode: isDevMod && process.env.npm_lifecycle_event !== 'build' ? 'server' : 'disabled',
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ···························· with ··············
Open

                            loader: MiniCssExtractPlugin.loader,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················_internal:·resolve(__dirname,·'app',·'core',·'modules' with ········_internal:·resolve(__dirname,·"app",·"core",·"modules"
Open

                _internal: resolve(__dirname, 'app', 'core', 'modules'),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················_modules:·resolve(__dirname,·'app',·'vendor_modules' with ········_modules:·resolve(__dirname,·"app",·"vendor_modules"
Open

                _modules: resolve(__dirname, 'app', 'vendor_modules'),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ····················], with ··········]
Open

                    ],
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················_vendor_modules:·resolve(__dirname,·'node_modules'), with ········_vendor_modules:·resolve(__dirname,·"node_modules")
Open

                _vendor_modules: resolve(__dirname, 'node_modules'),
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Delete ······
Open

            maxAssetSize: 512000,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············ with ······
Open

            // eslint-disable-next-line no-useless-escape
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ···················· with ··········
Open

                    test: /\.css$/i,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ································reloadAll:·true, with ················reloadAll:·true
Open

                                reloadAll: true,
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············ with ······
Open

            splitChunks: {
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ············ with ······
Open

            new MiniCssExtractPlugin({
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace ················}, with ········}
Open

                },
Severity: Minor
Found in vue.config.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

There are no issues that match your filters.

Category
Status