Skip to content

Commit

Permalink
Changed linting to strict and added corresponding test
Browse files Browse the repository at this point in the history
  • Loading branch information
diogo-nogueira-freiheit committed Oct 10, 2024
1 parent d0d0b54 commit 325cfde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions services/frontend-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"build": "GENERATE_SOURCEMAP=false react-scripts build",
"test": "TC=Europe/Berlin react-scripts test --color",
"start": "WATCHPACK_POLLING=true CHOKIDAR_USEPOLLING=true react-scripts start",
"eslint-check": "eslint --cache --cache-location 'misc/.eslintcache' --ext .ts,.tsx src/",
"eslint-fix": "eslint --fix --cache --cache-location 'misc/.eslintcache' --ext .ts,.tsx src/",
"eslint-check": "eslint --cache --max-warnings 0 --cache-location 'misc/.eslintcache' --ext .ts,.tsx src/",
"eslint-fix": "eslint --fix --cache --max-warnings 0 --cache-location 'misc/.eslintcache' --ext .ts,.tsx src/",
"circular-check": "madge -c --extensions ts,tsx --ts-config tsconfig.json --no-spinner src/",
"scss-check": "prettier -c --parser scss 'src/**/*.scss'",
"scss-fix": "prettier --write --parser scss 'src/**/*.scss'"
Expand Down
2 changes: 1 addition & 1 deletion services/frontend-service/src/ui/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const App: React.FC = () => {
if (kuberpultVersion !== '') {
document.title = 'Kuberpult ' + kuberpultVersion;
}
}, [kuberpultVersion, api]);
}, [api]);

React.useEffect(() => {
api.configService()
Expand Down

0 comments on commit 325cfde

Please sign in to comment.