Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Update eslint workflow. Set nextjs default rules.

Gabe Kangas5b2d215c526e
diff --git a/web/.eslintrc.js b/web/.eslintrc.js
index 9ec2ef4f30..53c8348c1e 100644
--- a/web/.eslintrc.js
+++ b/web/.eslintrc.js
@@ -3,7 +3,12 @@ module.exports = {
browser: true,
es2021: true,
},
- extends: ['plugin:react/recommended', 'airbnb', 'prettier'],
+ extends: [
+ 'plugin:react/recommended',
+ 'airbnb',
+ 'prettier',
+ 'plugin:@next/next/recommended'
+ ],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
diff --git a/web/.github/workflows/linter.yml b/web/.github/workflows/linter.yml
index 99e9bee855..bc25d261fa 100644
--- a/web/.github/workflows/linter.yml
+++ b/web/.github/workflows/linter.yml
@@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
- name: Linter
- uses: tj-actions/[email protected]
+ uses: tj-actions/[email protected]
with:
config-path: '.eslintrc.js'
ignore-path: '.eslintignore'