@byloth/eslint-config-vue
ESLint Vue.js configurations ✔
A collection of some common sense linting rules for Vue.js projects.
// eslint.config.mjs
import path from "node:path";
import { fileURLToPath } from "node:url";
/** If you use JS, uncomment this: */
// import eslintJs from "@byloth/eslint-config";
/** If you DON'T use TS, comment this: */
import eslintTs from "@byloth/eslint-config-typescript";
import eslintVue from "@byloth/eslint-config-vue";
import { includeIgnoreFile } from "@eslint/compat";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const gitignorePath = path.resolve(__dirname, ".gitignore");
/** If you use JS, uncomment this: */
// export default [includeIgnoreFile(gitignorePath), ...eslintJs, ...eslintVue];
/** If you DON'T use TS, comment this: */
export default [includeIgnoreFile(gitignorePath), ...eslintTs, ...eslintVue];
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 4.0.2 | Apache-2.0 | |
| 4.0.1 | Apache-2.0 | |
| 4.0.0 | Apache-2.0 | |
| 3.2.2 | Apache-2.0 | |
| 3.2.1 | Apache-2.0 | |
| 3.2.0 | Apache-2.0 | |
| 3.1.0 | Apache-2.0 | |
| 3.0.3 | Apache-2.0 | |
| 3.0.2 | Apache-2.0 | |
| 3.0.1 | Apache-2.0 | |
| 3.0.0 | Apache-2.0 | |
| 2.8.3 | Apache-2.0 | |
| 2.8.2 | Apache-2.0 | |
| 2.8.1 | Apache-2.0 | |
| 2.8.0 | Apache-2.0 | |
| 2.7.0 | Apache-2.0 | |
| 2.6.8 | Apache-2.0 | |
| 2.6.7 | Apache-2.0 | |
| 2.6.6 | Apache-2.0 | |
| 2.6.5 | Apache-2.0 | |
| 2.6.4 | Apache-2.0 | |
| 2.6.3 | Apache-2.0 | |
| 2.6.2 | Apache-2.0 | |
| 2.6.1 | Apache-2.0 | |
| 2.6.0 | Apache-2.0 | |
| 2.5.2 | Apache-2.0 | |
| 2.5.1 | Apache-2.0 | |
| 2.5.0 | Apache-2.0 | |
| 2.4.1 | Apache-2.0 | |
| 2.4.0 | Apache-2.0-or-later |
Showing the latest 30 of 47. See every release on npm
Pre-releases (3)
| Version | Released | License |
|---|---|---|
| 4.0.0-rc.2 | Apache-2.0 | |
| 4.0.0-rc.1 | Apache-2.0 | |
| 3.2.0-rc.1 | Apache-2.0 |