Skip to content

Commit

Permalink
Merge pull request #11 from UNIwise/update-eslint-config
Browse files Browse the repository at this point in the history
Update eslint config
  • Loading branch information
arcuo authored Jul 4, 2024
2 parents 495823d + cbe2b9e commit f5235ee
Show file tree
Hide file tree
Showing 5 changed files with 1,904 additions and 1,279 deletions.
17 changes: 17 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/no-var-requires": "off"
}
}
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@
"main": "index.js",
"scripts": {},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.7.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"prettier": "^2.8.4",
"typescript": "4.7.4"
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@uniwise/prettier-config": "^0.0.2",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.1",
"prettier": "^3.0.0",
"typescript": "5.1.6"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "5.x",
Expand All @@ -28,15 +29,15 @@
"eslint-config-prettier": "8.x",
"eslint-import-resolver-typescript": "3.x",
"eslint-plugin-import": "2.x",
"eslint-plugin-prettier": "4.x",
"eslint-plugin-prettier": "5.x",
"eslint-plugin-react": "7.x",
"prettier": "2.x",
"typescript": ">=4"
"prettier": "3.x",
"typescript": ">=5"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=12.0.0"
"node": ">=16.0.0"
}
}
Loading

0 comments on commit f5235ee

Please sign in to comment.