Skip to content

Commit

Permalink
chore: upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Jul 31, 2024
1 parent f717694 commit fe9710f
Show file tree
Hide file tree
Showing 6 changed files with 267 additions and 211 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default tseslint.config(
},
},
{
ignores: ['packages/core/dist/*', 'packages/playground/dist/*'],
ignores: ['packages/**/dist/*', 'coverage/*'],
},
{
files: ['packages/playground/postcss.config.js'],
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"@rollup/plugin-typescript": "^11.1.5",
"@testing-library/vue": "^8.1.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.14.12",
"@vitest/coverage-v8": "^2.0.4",
"@types/node": "^22.0.1",
"@vitest/coverage-v8": "^2.0.5",
"@vue/compiler-dom": "^3.4.34",
"consola": "^3.2.3",
"eslint": "^9.8.0",
Expand All @@ -48,20 +48,20 @@
"fs-extra": "^11.2.0",
"globals": "^15.8.0",
"gzip-size": "^7.0.0",
"husky": "^9.1.3",
"husky": "^9.1.4",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.7",
"pkg-pr-new": "^0.0.18",
"pkg-pr-new": "^0.0.19",
"prettier": "^3.3.3",
"rollup": "^4.19.1",
"rollup-plugin-dts": "^6.1.1",
"terser": "^5.31.3",
"tslint-config-prettier": "^1.18.0",
"tsx": "^4.16.2",
"tsx": "^4.16.3",
"typescript": "5.5.4",
"typescript-eslint": "^7.17.0",
"typescript-eslint": "^8.0.0",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^2.0.4",
"vitest": "^2.0.5",
"vue": "^3.5.0-alpha.4"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/i18n/getDirection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function getDirection(locale: string): Direction {
}

throw new Error(`Cannot determine direction for locale ${locale}`);
} catch (err) {
} catch {
// TODO: WARN

return 'ltr';
Expand Down
Loading

0 comments on commit fe9710f

Please sign in to comment.