@futuredapp/eslint-config-nuxt
ESLint Config for Nuxt projects
Futured's approach to styling Nuxt projects.
Installation
$ npm install @futuredapp/eslint-config-nuxt --save-dev
or
$ yarn add @futuredapp/eslint-config-nuxt -D
or
$ pnpm add @futuredapp/eslint-config-nuxt -D
Usage
Add the ESLint configuration to eslint.config.mjs:
eslint.config.mjs
import futuredNuxt from '@futuredapp/eslint-config-nuxt'
import withNuxt from './.nuxt/eslint.config.mjs'
export default withNuxt(
...futuredNuxt
)
WebStorm
To update WebStorm to use the ESLint configuration on save, follow these steps:
-
Press ⌘ Сmd 0, to open settings and then select Languages & Frameworks | JavaScript | Code Quality Tools | ESLint.
-
Select Automatic ESLint Configuration.
-
Check Run
eslint --fixon save. -
Click Apply to save the changes and close the dialog.
Version History
| Version | Released | License |
|---|---|---|
| 1.3.0 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.0 | MIT | |
| 1.0.0 | MIT |