Skip to content

wearedestination/eslint-config-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 --dev

Usage

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors