Skip to content

Commit

Permalink
add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
bmesuere committed Jun 18, 2024
1 parent 71823bf commit dc6c822
Show file tree
Hide file tree
Showing 3 changed files with 828 additions and 1 deletion.
11 changes: 11 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


export default [
{ languageOptions: { globals: globals.node } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{ ignores: ["dist/"] }
];
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@
},
"scripts": {
"build": "yarn run tsc",
"lint": "yarn run eslint",
"uniprot": "yarn run tsx bin/uniprot.ts"
},
"dependencies": {
"commander": "^12.1.0"
},
"devDependencies": {
"@eslint/js": "^9.5.0",
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"eslint": "9.x",
"globals": "^15.6.0",
"tsx": "^4.15.6",
"typescript": "^5.4.5"
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.1"
}
}
Loading

0 comments on commit dc6c822

Please sign in to comment.