Skip to content

Commit

Permalink
add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
harjotgill committed Nov 10, 2024
1 parent 05187e4 commit 9bf4d1d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/tools/eslint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: ESLint
sidebar_label: ESLint
description: CodeRabbit's guide to ESLint.
---

[ESLint](https://eslint.org/) is a linter for JavaScript, TypeScript, JSX, TSX, CSS, etc.

## Files

ESLint will run on files with the following extensions:

- `.js`
- `.ts`
- `.cjs`
- `.mjs`
- `.d.cts`
- `.d.mts`
- `.jsx`
- `.tsx`
- `.css`
- `.vue`
- `.svelte`
- `.astro`

## Configuration

CodeRabbit reads your ESLint configuration and uses it as is. Please ensure that all ESLint dependencies are defined in your `package.json` file(s). CodeRabbit supports Yarn and PNPM workspaces in your monorepo. CodeRabbit doesn't support private ESLint plugins or configurations at the moment.

0 comments on commit 9bf4d1d

Please sign in to comment.