@vue/eslint-config-standard
@vue/eslint-config-standard
ESLint Shareable Configs for JavaScript Standard Style in Vue.js Projects
This config is specifically designed to be used by create-vue 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 create-vue setups, such as eslint-plugin-vue being
extended in the same resulting config.
[!NOTE] The current version doesn't support the legacy
.eslintrc*configuration format. For that you need to use version 13 or earlier. See the corresponding README for more usage instructions.
Installation
npm add --dev @vue/eslint-config-standard
Usage
An example eslint.config.js:
import pluginVue from "eslint-plugin-vue";
import standard from "@vue/eslint-config-standard";
export default [
...pluginVue.configs["flat/essential"],
...standard,
]
Aliases
By default, none of the built-in rules require you to configure aliases in ESLint.
But if you want to enable some additional rules that need to actually resolve the imported module on the filesystem (e.g. import-x/no-unresolved) by yourself and need path aliases to be resolved, please make sure configure them in your jsconfig.json or tsconfig.json file. We use eslint-import-resolver-next as the default resolver, which will automatically detect path aliases in these files.
Related Packages
eslint-config-standard-with-typescript for Vue.js projects
ESLint sharable config: prettier & standard for vue
Version History
| Version | Released | License |
|---|---|---|
| 9.0.1 | MIT | |
| 9.0.0 | MIT | |
| 8.0.1 | MIT | |
| 8.0.0 | MIT | |
| 7.0.0 | MIT | |
| 6.1.0 | MIT | |
| 6.0.0 | MIT | |
| 5.1.2 | MIT | |
| 5.1.1 | MIT | |
| 5.1.0 | MIT | |
| 5.0.1 | MIT | |
| 5.0.0 | MIT | |
| 4.0.0 | MIT | |
| 3.0.5 | MIT | |
| 3.0.4 | MIT | |
| 3.0.3 | MIT | |
| 3.0.2 | MIT | |
| 3.0.1 | MIT | |
| 3.0.0 | MIT |
Pre-releases (41)
| Version | Released | License |
|---|---|---|
| 3.0.0-rc.12 | MIT | |
| 3.0.0-rc.11 | MIT | |
| 3.0.0-rc.10 | MIT | |
| 3.0.0-rc.9 | MIT | |
| 3.0.0-rc.8 | MIT | |
| 3.0.0-rc.7 | MIT | |
| 3.0.0-rc.6 | MIT | |
| 3.0.0-rc.5 | MIT | |
| 3.0.0-rc.4 | MIT | |
| 3.0.0-rc.3 | MIT | |
| 3.0.0-rc.2 | MIT | |
| 3.0.0-rc.1 | MIT | |
| 3.0.0-beta.16 | MIT | |
| 3.0.0-beta.15 | MIT | |
| 3.0.0-beta.14 | MIT | |
| 3.0.0-beta.13 | MIT | |
| 3.0.0-beta.12 | MIT | |
| 3.0.0-beta.11 | MIT | |
| 3.0.0-beta.10 | MIT | |
| 3.0.0-beta.9 | MIT | |
| 3.0.0-beta.8 | MIT | |
| 3.0.0-beta.7 | MIT | |
| 3.0.0-beta.6 | MIT | |
| 3.0.0-beta.5 | MIT | |
| 3.0.0-beta.4 | MIT | |
| 3.0.0-beta.3 | MIT | |
| 3.0.0-beta.2 | MIT | |
| 3.0.0-beta.1 | MIT | |
| 3.0.0-alpha.13 | MIT | |
| 3.0.0-alpha.12 | MIT |
Showing the latest 30 of 41. See every release on npm