Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@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 92,958 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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.