Skip to content

Commit

Permalink
Get linting working - though I'm persisting the linter not checking j…
Browse files Browse the repository at this point in the history
…sx or tsx files because there are unresolved linter problems there that will create lots of

noise in this already large PR. This should be addressed in a follow-up PR.
  • Loading branch information
rhystmills committed Nov 18, 2024
1 parent 00a5546 commit 08bb4d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@ module.exports = {
'prefer-const': 'error',
semi: ['warn', 'always'],
'comma-dangle': ['error', 'never']
},
settings: {
react: {
version: 'detect'
}
}
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"build": "tsc && vite build",
"client-dev": "vite",
"lint": "eslint public/video-ui/src/**/*.(js|ts)*",
"lint": "eslint public/video-ui/src/**/** --ext .js,.ts --no-error-on-unmatched-pattern",
"test": "jest"
},
"jest": {
Expand Down

0 comments on commit 08bb4d4

Please sign in to comment.