Skip to content

Instantly share code, notes, and snippets.

View AloisSeckar's full-sized avatar

Alois Sečkár AloisSeckar

View GitHub Profile
@AloisSeckar
AloisSeckar / eslint.config.mjs
Created September 7, 2024 21:12
Configuration for ESLint module in Nuxt
// current config for ESLint module in Nuxt
// using https://www.npmjs.com/package/@nuxt/eslint 0.5.0^
// last review: 2024-09-07
// 1) create eslint.config.mjs in your root and copy this
// 2) add https://www.npmjs.com/package/typescript dependency into package.json
// 3) run pnpm dev (or npm run dev) to re-initialize default Nuxt ESLint config
// 4) enjoy ESLinting in your Nuxt project
import withNuxt from './.nuxt/eslint.config.mjs'