-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05187e4
commit 9bf4d1d
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |