Eslint plugin for FSD best practices
npm install eslint-plugin-fsdbash
$ git clone https://github.com/timon-and-pumbaa/eslint-plugin-fsd.git
`
$3
`bash
$ npm run check-types
`
$3
`bash
$ npm run test
Watch mode:
$ npm run test-watch
`
$3
`bash
$ npm run lint
`
$3
`bash
$ npm run compile
`
$3
`bash
npm run compile-tests
`
Folder Structure
`
docs/ <- rule docs
rules/
lib/ <- compiled rules
rules/
index.js
src/
lib/ <- source files for rules
rules/
utils/
index.ts
tests/ <- test files
lib/
rules/
``