Skip to content

Commit

Permalink
fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed Dec 4, 2024
1 parent 96db6bc commit 4b2b000
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 0 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ You can contribute by [opening an issue](https://github.com/linode/manager/issue

## Opening an issue

testing

Feel free to open an issue to report a bug or request a feature.

## Submitting a pull request
Expand Down
9 changes: 2 additions & 7 deletions packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"lint": "eslint . --ext .js,.ts,.tsx",
"build": "vite build",
"build:analyze": "bunx vite-bundle-visualizer",
"precommit": "lint-staged",
"precommit": "lint-staged && yarn typecheck",
"test": "vitest run",
"test:debug": "node --inspect-brk scripts/test.js --runInBand",
"storybook": "NODE_OPTIONS='--max-old-space-size=4096' storybook dev -p 6006",
Expand All @@ -112,12 +112,7 @@
"coverage:summary": "vitest run --coverage.enabled --reporter=junit --coverage.reporter=json-summary"
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint --ext .js,.ts,.tsx --fix"
],
"*.{ts,tsx}": [
"yarn typecheck"
]
"*.{ts,tsx,js}": "eslint --ext .js,.ts,.tsx --fix"
},
"devDependencies": {
"@linode/eslint-plugin-cloud-manager": "^0.0.5",
Expand Down
5 changes: 4 additions & 1 deletion packages/manager/src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import {
useNotificationContext,
} from 'src/features/NotificationCenter/NotificationCenterContext';
import { TopMenu } from 'src/features/TopMenu/TopMenu';
import { useMutatePreferences, usePreferences } from 'src/queries/profile/preferences';
import {
useMutatePreferences,
usePreferences,
} from 'src/queries/profile/preferences';

import { ENABLE_MAINTENANCE_MODE } from './constants';
import { complianceUpdateContext } from './context/complianceUpdateContext';
Expand Down

0 comments on commit 4b2b000

Please sign in to comment.