dependabot[bot] 0abb26df8a chore(deps): bump braces in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the / directory: [braces](https://github.com/micromatch/braces).


Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-version: 3.0.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-27 21:16:33 +00:00
2021-05-05 08:31:41 +02:00
2021-04-20 10:46:30 +02:00
2021-04-20 13:46:08 +02:00
2021-04-20 13:45:55 +02:00

@foomo/eslint-plugin

eslint utility rules to effectively handle monorepo setups

Installation

You'll first need to install ESLint:

yarn add -D eslint

Next, install @foomo/eslint-plugin:

yarn add -D @foomo/eslint-plugin

Usage

Add @foomo/eslint-plugin to the plugins section of your .eslintrc configuration file:

{
  "plugins": ["@foomo/eslint-plugin"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "@foomo/no-package-imports": ["error", {
      "options": [
        { "invalidPrefix": "packages", "invalidSuffix": "src", "monorepoRoot": "@organization" },
        { "invalidPrefix": "packages", "invalidSuffix": "src", "template": "@organization/$1/custom-prefix/$2" }
      ]
    }]
  }
}

Supported Rules

  • no-package-imports: fixes forbidden import paths
S
Description
No description provided
Readme MIT
212 KiB
Languages
JavaScript 100%