Skip to content

Commit

Permalink
⬆️ upgrade eslint config (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
woohm402 authored Jun 22, 2024
1 parent 66eda6c commit 83dd2f5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
6 changes: 2 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import woohm402 from '@woohm402/eslint-config-base'
import woohm402 from '@woohm402/eslint-config-base';

export default [
...woohm402
]
export default [...woohm402({ envAllowedFiles: ['src/server.ts', 'src/weekly-dashboard.ts'] })];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"devDependencies": {
"@types/express": "4.17.21",
"@types/node": "20.14.8",
"@woohm402/eslint-config-base": "0.1.0",
"@woohm402/eslint-config-base": "^0.2.5",
"dotenv": "16.4.5",
"eslint": "9.5.0",
"prettier": "3.3.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -739,10 +739,10 @@
loupe "^2.3.7"
pretty-format "^29.7.0"

"@woohm402/eslint-config-base@0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@woohm402/eslint-config-base/-/eslint-config-base-0.1.0.tgz#c7733a46b5021e35f684f663c8759b83fa038b08"
integrity sha512-U48REf7SPQdK8I/ofZaTyG2jjwR+wEnb9wLvUamDKIlHvTmHS1zD/8GdbifFiBBcRDiOpJlSx4BiAm2+Dem/7g==
"@woohm402/eslint-config-base@^0.2.5":
version "0.2.5"
resolved "https://registry.yarnpkg.com/@woohm402/eslint-config-base/-/eslint-config-base-0.2.5.tgz#b82fbd29f28eeeaf2576c6eec248d63cba9d9729"
integrity sha512-U9AMSsAMVi9sbLNaDFo/zY1p8GOjwbh0bSpVysW32RZ5mygXT0spq2wJqMyIMIMOVukeWkEy9axLEm0avsBFNQ==
dependencies:
"@eslint-community/eslint-plugin-eslint-comments" "4.3.0"
eslint-config-prettier "9.1.0"
Expand Down

0 comments on commit 83dd2f5

Please sign in to comment.