@moser-inc/eslint-config-vue
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Moser ESLint Config Vue npm

This is the set of rules to for usage in Vue based projects.

Installation

npm i -D eslint prettier @moser-inc/eslint-config-vue

Usage (Flat)

Export the config from your eslint.config.mjs file. The config exports a function that returns a composer instance (see here) that can prepend/append/override rules and configuration.

import moser from '@moser-inc/eslint-config-vue/flat';

export default moser().append(...);

For support for type checked rules, include the tsconfigPath option.

import moser from '@moser-inc/eslint-config/flat';

export default moser({ tsconfigPath: './tsconfig.json' }).append(...);

Usage (Legacy)

Add the config to the extends option in your .eslintrc.cjs file.

module.exports = {
  extends: ['@moser-inc/eslint-config-vue']
}

Readme

Keywords

none

Package Sidebar

Install

npm i @moser-inc/eslint-config-vue

Weekly Downloads

80

Version

3.0.0

License

ISC

Unpacked Size

983 kB

Total Files

12

Last publish

Collaborators

  • danielwaltz
  • thezanke
  • datducky