0.5.0 • Published 5 months ago

eslint-config-wzx-nuxt v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

eslint-config-wzx-nuxt

NPM version node Code Style GitHub Workflow Status (branch) release codecov NPM downloads

The custom nuxt eslint rules based on eslint-config-wzx-vue. (Follow airbnb-base and Support Typescript Eslint)

:cd: Installation

npm install --save-dev eslint-config-wzx-nuxt

:bulb: Typescript eslint needs to install typescript, @typescript-eslint/parser, @typescript-eslint/eslint-plugin.

npm install --save-dev typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin

:rocket: Usage

Starting from v0.4.x, we will use the new flat eslint config. Add eslint-config-wzx-nuxt in your eslint.config.js.

import wzxNuxt from 'eslint-config-wzx-nuxt';

export default [
  ...wzxNuxt,
]

:bulb: Typescript eslint needs tsconfig.json in your project root directory. And the config will select the rules of nuxt2 or nuxt3 according to the nuxt version installed in your project.

:lock: License

MIT.

0.5.0

5 months ago

0.4.4

5 months ago

0.4.1

6 months ago

0.4.0

6 months ago

0.4.3

5 months ago

0.4.2

6 months ago

0.3.0

9 months ago

0.3.1

9 months ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago