@vue-storefront/eslint-config-typescript

10,338
Install
npm install @vue-storefront/eslint-config-typescript
Latest Version:1.1.2
License:MIT
Last Updated:Oct 5, 2022
Links: npm
Maintainer: filrak

@vue-storefront/eslint-config-typescript

npm version npm downloads License

Vue Storefront eslint standards for TypeScript

Information

Eslint configuration for:

  • JavaScript
  • Typescript

For this eslint config package, we enable the following community standards:

  • AirBnb
  • Prettier

This configuration provides eslint rules for the following:

  • TypeScript
  • JSON
  • YAML / YML
  • Markdown

Usage

TypeScript Config

Install
pnpm add -D eslint @vue-storefront/eslint-config-typescript
Config .eslintrc
{
  "extends": "@vue-storefront/eslint-config-typescript"
}

Config VS Code auto fix

Update your .vscode/settings.json and add the following

{
  "prettier.enable": true,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Contributing

You can contribute to this module online with CodeSandBox:

Edit @vuestorefront/eslint-config

Or locally:

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using yarn dev or npm run dev

License

MIT License

Copyright (c) Vue Storefront

Related Packages

@tresinternet/eslint-config-vue3

Opinionated ESLint config for consistent, clean, auto-sorted code in TRES Vue3 a...

2,631
eslint-config-light-vue3

开箱即用的 Eslint 配置

19,634
@so1ve/eslint-config-vue

Ray's eslint config for vue.

18,733 29

Version History

Version Released License
1.1.2 MIT
1.1.1 MIT
1.1.0 MIT
1.0.17 MIT
1.0.16 MIT