Skip to content

Commit

Permalink
Fix ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed May 14, 2024
1 parent 421bcb7 commit 0dc7e5f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"scripts": {
"build": "bob build --single",
"bundlesize": "yarn build && cd bundle-test/ && yarn && yarn test",
"ci:lint": "eslint --ext .ts \"./src/**/*.ts\" --output-file eslint_report.json --format json",
"ci:lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --ext .ts \"./src/**/*.ts\" --output-file eslint_report.json --format json",
"clean": "rm -rf dist",
"deploy:website": "cd website && yarn deploy",
"lint": "eslint --ext .ts \"./src/**/*.ts\"",
"lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --ext .ts \"./src/**/*.ts\"",
"lint:prettier": "prettier --ignore-path .gitignore --ignore-path .prettierignore --cache --check .",
"prebuild": "yarn clean",
"prepare": "husky install",
Expand Down Expand Up @@ -67,6 +67,7 @@
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.9.0",
"bob-the-bundler": "7.0.1",
"cross-env": "7.0.3",
"eslint": "9.2.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
Expand All @@ -93,7 +94,7 @@
"sideEffects": false,
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --fix",
"git add"
],
"*.{js,json,css,md,ts,tsx}": [
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2398,6 +2398,13 @@ create-jest@^29.7.0:
jest-util "^29.7.0"
prompts "^2.0.1"

cross-env@7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf"
integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==
dependencies:
cross-spawn "^7.0.1"

cross-inspect@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/cross-inspect/-/cross-inspect-1.0.0.tgz#5fda1af759a148594d2d58394a9e21364f6849af"
Expand All @@ -2414,7 +2421,7 @@ cross-spawn@^5.1.0:
shebang-command "^1.2.0"
which "^1.2.9"

cross-spawn@^7.0.2, cross-spawn@^7.0.3:
cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
Expand Down

0 comments on commit 0dc7e5f

Please sign in to comment.