Skip to content

andrewmolyuk/eslint-plugin-vue-fsd

Repository files navigation

eslint-plugin-vue-fsd

Build Status Codacy Grade Codacy Coverage Issues NPM NPM downloads

A custom ESLint plugin for enforcing FSD patterns in Vue projects.

Note

The project is in active development and may have breaking changes in minor versions, but we will strive to keep changes minimal and well-documented.

FSD Pattern

Features

  • Enforces FSD (Feature-Sliced Design) architecture patterns in Vue.js projects.
  • Provides a set of rules and guidelines for structuring Vue components and their interactions.
  • Includes a set of predefined configurations for different project setups.

Installation

npm install eslint-plugin-vue-fsd --save-dev

Usage

import vueFsdPlugin from 'eslint-plugin-vue-fsd'

// .eslintrc.js
module.exports = {
  ...vueFsdPlugin.configs.recommended,
}

Rules

Rule Description
no-processes-layer Ensure deprecated processes layer is not used.

Contribution

Pull requests and issues are welcome! Please follow the code style and add tests for new rules.

License

MIT, see LICENSE for details.

About

A custom ESLint plugin for enforcing FSD patterns in Vue projects

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks