Socket
Socket
Sign inDemoInstall

@vue/cli-plugin-eslint

Package Overview
Dependencies
Maintainers
3
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/cli-plugin-eslint

eslint plugin for vue-cli


Version published
Weekly downloads
376K
decreased by-19.42%
Maintainers
3
Weekly downloads
 
Created

What is @vue/cli-plugin-eslint?

@vue/cli-plugin-eslint is a Vue CLI plugin that adds ESLint support to your Vue.js projects. It helps in maintaining code quality and consistency by integrating ESLint, a popular linting tool for JavaScript, into the Vue development workflow.

What are @vue/cli-plugin-eslint's main functionalities?

Linting on Save

This feature enables linting of your code every time you save a file. It helps catch errors and enforce coding standards in real-time.

module.exports = {
  lintOnSave: true
};

Custom ESLint Configuration

This feature allows you to customize the ESLint configuration to fit your project's specific needs. You can add custom rules, plugins, and settings.

module.exports = {
  lintOnSave: true,
  configureWebpack: {
    module: {
      rules: [
        {
          enforce: 'pre',
          test: /\.js$/,
          loader: 'eslint-loader',
          exclude: /node_modules/
        }
      ]
    }
  }
};

Linting Scripts

This feature adds a linting script to your package.json file, enabling you to run ESLint checks via the command line. This is useful for integrating linting into your CI/CD pipeline.

{
  "scripts": {
    "lint": "vue-cli-service lint"
  }
}

Other packages similar to @vue/cli-plugin-eslint

Keywords

FAQs

Package last updated on 18 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc