Skip to content

Commit

Permalink
Merge pull request #1994 from remotion-dev/fix-eslint-plugin
Browse files Browse the repository at this point in the history
Fix eslint instructions and add eslint as peer dependency
  • Loading branch information
JonnyBurger committed Apr 6, 2023
2 parents 56b2bf4 + deb4999 commit ab9076a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/docs/docs/brownfield-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ This snippet will enable the recommended rules only for the Remotion files:

```json title=".eslintrc"
{
"plugins": ["@remotion"],
"overrides": [
{
"files": ["remotion/*.{ts,tsx}"],
Expand Down
7 changes: 7 additions & 0 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
"dependencies": {
"@typescript-eslint/utils": "5.19.0"
},
"keywords": [
"eslint",
"eslintplugin"
],
"peerDependencies": {
"eslint": ">=7.0.0"
},
"devDependencies": {
"eslint": "8.25.0",
"typescript": "^4.7.0",
Expand Down

1 comment on commit ab9076a

@vercel
Copy link

@vercel vercel bot commented on ab9076a Apr 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.