Skip to content

Commit

Permalink
feat: improve linting
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipPyrek committed Jun 19, 2024
1 parent 0f72444 commit 1cdf1f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 1 addition & 7 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,9 @@ module.exports = {
files: ['*.ts', '*.tsx'],
parser: '@typescript-eslint/parser',
extends: ['plugin:@microsoft/eslint-plugin-sdl/typescript'],
parserOptions: {
project: [
'./tsconfig.json',
'./services/**/tsconfig.json',
'./packages/**/tsconfig.json'
]
},
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/no-implied-eval': 'off',
'@typescript-eslint/ban-ts-comment': [
'error',
{
Expand Down
6 changes: 4 additions & 2 deletions services/frontend/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"extends": "next/core-web-vitals",
"rules": {
"@next/next/no-html-link-for-pages": ["error", "./src/pages/"]
"settings": {
"next": {
"rootDir": "services/frontend"
}
}
}

0 comments on commit 1cdf1f2

Please sign in to comment.