Skip to content

Commit

Permalink
Add json files to lint script and ignore all but common.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Jul 16, 2024
1 parent 26db782 commit 6e53cbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/client/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.json
!common.json
2 changes: 1 addition & 1 deletion src/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"build": "tsc && vite build",
"preview": "vite preview",
"test": "cypress run",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --report-unused-disable-directives --max-warnings 0",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.json --report-unused-disable-directives --max-warnings 0",
"cy": "cypress open"
}
}
1 change: 0 additions & 1 deletion src/client/public/locale/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
"editingEnabled": "Editing started",
"editingStart": "Start editing",
"editingStop": "Stop editing",
"endEditing":"Stop editing",
"elevation_precision": "+/- Ground elevation [m]",
"elevation_z": "Ground elevation [m a.s.l.]",
"elevation_z_from": "Ground Elevation (from)",
Expand Down

0 comments on commit 6e53cbb

Please sign in to comment.