@futuredapp/eslint-config-nuxt
v1.2.1
Published
Futured's linting style for Nuxt projects
Downloads
58
Keywords
Readme
ESLint Config for Nuxt projects
Futured's approach to styling Nuxt projects.
Installation
$ npm install @futuredapp/eslint-config-nuxt --save-devor
$ yarn add @futuredapp/eslint-config-nuxt -Dor
$ pnpm add @futuredapp/eslint-config-nuxt -DUsage
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.
