Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@vue/eslint-config-standard
Advanced tools
@vue/eslint-config-standard is an ESLint configuration package specifically designed for Vue.js projects. It extends the standard ESLint rules with additional rules and settings tailored for Vue.js development, ensuring code quality and consistency.
Standard JavaScript Rules
This feature extends the standard ESLint rules along with essential Vue.js rules. It ensures that your JavaScript code adheres to widely accepted best practices and coding standards.
{"extends":["eslint:recommended","plugin:vue/essential","@vue/standard"]}
Vue.js Specific Rules
This feature includes rules specific to Vue.js, such as preventing unused variables in Vue components and ensuring that templates have a single root element.
{"extends":["plugin:vue/essential"],"rules":{"vue/no-unused-vars":"error","vue/no-multiple-template-root":"error"}}
Code Formatting
This feature enforces consistent code formatting rules, such as no semicolons and 2-space indentation, to maintain a uniform code style across the project.
{"extends":["@vue/standard"],"rules":{"semi":["error","never"],"indent":["error",2]}}
This package provides an ESLint configuration that extends the Airbnb JavaScript style guide for Vue.js projects. It is similar to @vue/eslint-config-standard but follows the Airbnb style guide, which has different rules and conventions.
This package disables all ESLint rules that are unnecessary or might conflict with Prettier. It can be used alongside @vue/eslint-config-standard to ensure that code formatting is handled by Prettier while still enforcing other ESLint rules.
This plugin provides a set of ESLint rules specifically for Vue.js. It can be used to create a custom ESLint configuration for Vue projects, offering more flexibility compared to @vue/eslint-config-standard.
eslint-config-standard for vue-cli
This config is specifically designed to be used by vue-cli
setups
and is not meant for outside use (it can be used but some adaptations
on the user side might be needed - for details see the config file).
A part of its design is that this config may implicitly depend on
other parts of vue-cli
setups, such as eslint-plugin-vue
being
extended in the same resulting config.
FAQs
eslint-config-standard for Vue.js projects
The npm package @vue/eslint-config-standard receives a total of 113,222 weekly downloads. As such, @vue/eslint-config-standard popularity was classified as popular.
We found that @vue/eslint-config-standard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.