Skip to content

Commit

Permalink
refactor: Update eslint configuration to fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocjohn committed Oct 23, 2024
1 parent de4340a commit 4f17f15
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/localize/*.ts
src/localize/*.js
15 changes: 0 additions & 15 deletions .github/workflows/build.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"scripts": {
"dev": "rollup -c --watch",
"build": "npm run update-lang && npm run import-lang && npm run lint && npm run rollup",
"lint": "eslint src/*.ts",
"lint": "eslint src/**/*.ts --fix --quiet",
"rollup": "rollup -c",
"update-lang": "node scripts/update-languages",
"import-lang": "node scripts/generate-lang-imports.js",
Expand Down
1 change: 1 addition & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
import { languages, languageOptions } from './languageImports';

export { languageOptions };
Expand Down

0 comments on commit 4f17f15

Please sign in to comment.