Skip to content

Commit 9bf4d1d

Browse files
committed
add eslint
1 parent 05187e4 commit 9bf4d1d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Diff for: docs/tools/eslint.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: ESLint
3+
sidebar_label: ESLint
4+
description: CodeRabbit's guide to ESLint.
5+
---
6+
7+
[ESLint](https://eslint.org/) is a linter for JavaScript, TypeScript, JSX, TSX, CSS, etc.
8+
9+
## Files
10+
11+
ESLint will run on files with the following extensions:
12+
13+
- `.js`
14+
- `.ts`
15+
- `.cjs`
16+
- `.mjs`
17+
- `.d.cts`
18+
- `.d.mts`
19+
- `.jsx`
20+
- `.tsx`
21+
- `.css`
22+
- `.vue`
23+
- `.svelte`
24+
- `.astro`
25+
26+
## Configuration
27+
28+
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 commit comments

Comments
 (0)