Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.11 KB

File metadata and controls

52 lines (37 loc) · 1.11 KB

@foxglove/eslint-plugin

npm package

Foxglove default eslint configuration & rules.

Rules

See rules/README.md for details on each rule.

Installation

yarn add -D \
    @foxglove/eslint-plugin \
    typescript-eslint \
    eslint

In your eslint.config.cjs:

const foxglove = require("@foxglove/eslint-plugin");
const tseslint = require("typescript-eslint");

module.exports = tseslint.config(
  ...foxglove.configs.base,
  ...foxglove.configs.react,
  ...foxglove.configs.jest,
  ...foxglove.configs.typescript,
);

License

@foxglove/eslint-plugin is released under the MIT License.

Releasing

yarn version minor && \
  tag="v$(jq -r .version package.json)" && \
  git add package.json && \
  git commit -m "$tag" && \
  git tag "$tag" && \
  git push && \
  git push origin "$tag"

Stay in touch

Join our Slack channel to ask questions, share feedback, and stay up to date on what our team is working on.