Update eslint workflow. Set nextjs default rules.
This commit is contained in:
parent
a22ad8e122
commit
5b2d215c52
@ -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: {
|
||||
|
2
web/.github/workflows/linter.yml
vendored
2
web/.github/workflows/linter.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Linter
|
||||
uses: tj-actions/eslint-changed-files@v6.5
|
||||
uses: tj-actions/eslint-changed-files@v7.3
|
||||
with:
|
||||
config-path: '.eslintrc.js'
|
||||
ignore-path: '.eslintignore'
|
||||
|
Loading…
x
Reference in New Issue
Block a user