Skip to content

Commit

Permalink
general: fix lintfix command
Browse files Browse the repository at this point in the history
  • Loading branch information
zbycz committed Aug 7, 2021
1 parent 51d8dc6 commit 6ceddc3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
/.next
/public/tmp
/public
/src/helpers/Favicons.tsx
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": {
"dev": "next",
"lint": "eslint . --report-unused-disable-directives",
"lintfix": "prettier . --write && eslint . --report-unused-disable-directives --fix",
"lintfix": "prettier . --write && eslint ./src ./pages --report-unused-disable-directives --fix",
"prettify": "prettier . --write",
"build": "next build",
"start": "next start",
Expand Down
1 change: 0 additions & 1 deletion src/components/FeaturePanel/TagsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const isNetwork = (k) => k.match(/network/);
const isBrand = (k) => k.match(/^brand/);
const isPayment = (k) => k.match(/^payment/);

// eslint-disable-next-line @typescript-eslint/no-unused-vars
const TagsGroup = ({ tags, label, value, hideArrow = false, onEdit }) => {
const [isShown, toggle] = useToggleState(false);

Expand Down
2 changes: 1 addition & 1 deletion src/services/images/getMapillaryImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const getMapillaryImage = async (center: Position): Promise<Image> => {
try {
return await getMapillaryImageRaw(center);
} catch (e) {
console.warn(e);
console.warn(e); // eslint-disable-line no-console
return undefined;
}
};
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"**/*.ts",
"**/*.tsx"
],
"exclude": ["node_modules"]
"exclude": ["node_modules", "public"]
}

1 comment on commit 6ceddc3

@vercel
Copy link

@vercel vercel bot commented on 6ceddc3 Aug 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.