@destination/eslint-config-vue
v2.1.0
Published
Vue ESLint config used by Destination
Readme
Destination ESLint Config Vue
Defines a set of rules used by ESLint to enforce our JS/TS coding standards for Vue projects.
Note that version 2 of this package uses the new ESLint config format and requires ESLint v9.0.0 or later.
Installation
bun add @destination/eslint-config-vue eslint --devUsage
Your eslint.config.js file should look something like this:
export { default } from "@destination/eslint-config-vue";Or, if you need to specify additional configuration:
import { defineConfig, globalIgnores } from "eslint/config";
import destinationEsLintConfigVue from "@destination/eslint-config-vue";
export default defineConfig([
globalIgnores([
"assets/some-ignored-file.ts",
"assets/another-ignored-file.ts",
]),
]);Run eslint as normal e.g.:
bun run eslint 'assets/**/*.{js,ts,vue}'License
Released under the MIT license
