A unified linter configuration package for Vue 2/3 projects, providing preconfigured ESLint, Prettier, Stylelint, and JSConfig setups. Version 1.0.17, updated frequently via GitHub. Key differentiators: supports both Vue 2 and Vue 3 with flat ESLint config (ESLint v9+), includes TypeScript support, and relies on peer dependencies kept external to minimize bundle size (36.9 kB). Requires manual installation of many peer deps; recommended for teams wanting a single source of lint configs.
npm install longmo-lint-configsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import each configuration (ESLint, Prettier, Stylelint) in separate config files.
Upgrade ESLint to v9 and use eslint.config.mjs (or .js). Convert any legacy .eslintrc configs.
Run: pnpm add -D eslint @eslint/js eslint-plugin-vue vue-eslint-parser eslint-plugin-import-x eslint-plugin-prettier prettier stylelint (see README for full list).
Add Vue 2 specific rules in your eslint.config.mjs override block.
Use import statements with .mjs extension for config files.
Install the missing peer dep: pnpm add -D eslint-plugin-vue vue-eslint-parser
Set "type": "module" in package.json, or rename file to .mjs.
Use subpath import: import { defineConfig } from 'longmo-lint-configs/eslint-config'