Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
jeovazero committed Jun 1, 2021
1 parent 0574400 commit 8d2e951
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"styled-components": "5.3.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"*.{js,ts,tsx}": [
"eslint --cache --fix",
"dprint fmt"
]
Expand Down
2 changes: 1 addition & 1 deletion src/puzzle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const zeroIndexFromList = (list: Array<number>): number => {
const index = list.findIndex(elem => elem === 0)

if (index >= 0) return index
throw Error(`Invalid list. The a "zero" element is required. ${list}`)
throw Error(`Invalid list. The "zero" element is required. ${list}`)
}

const positionFromIndex = (
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineConfig({
symbolId: '[name]'
})
],
build:{
build: {
target: 'es2015'
},
esbuild: {
Expand Down

0 comments on commit 8d2e951

Please sign in to comment.