Skip to content

Commit

Permalink
chore: update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Feb 20, 2024
1 parent c345f30 commit c6a8a60
Show file tree
Hide file tree
Showing 4 changed files with 260 additions and 76 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"build": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint '*.js' 'src/**/*.{ts,tsx}'",
"format": "prettier --write *.js src/**/*.{ts,tsx} && eslint '*.js' 'src/**/*.{ts,tsx}' --fix",
"lint": "eslint '**/*.{js,ts,tsx}'",
"format": "prettier --write **/*.{js,ts,tsx} && eslint '**/*.{js,ts,tsx}' --fix",
"typecheck": "tsc --noEmit",
"sizecheck": "tsc && size-limit",
"licenselint": "licenselint",
Expand All @@ -56,7 +56,7 @@
"devDependencies": {
"@commitlint/cli": "^17.4.1",
"@commitlint/config-conventional": "^17.4.0",
"@rambler-tech/eslint-config": "^0.9.1",
"@rambler-tech/eslint-config": "^0.10.4",
"@rambler-tech/licenselint": "^1.3.0",
"@rambler-tech/licenselint-config": "^0.0.2",
"@rambler-tech/prettier-config": "^0.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/client/stream.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export const hydrateFromStream = async (
...rest
} = options

// eslint-disable-next-line @arthurgeron/react-usememo/require-usememo
const appContext = {
...state,
...rest
Expand Down
1 change: 0 additions & 1 deletion src/server/stream.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export const renderToStream = async (

res.status(data?.statusCode ?? OK)

// eslint-disable-next-line @arthurgeron/react-usememo/require-usememo
const appContext = {
req,
res,
Expand Down
Loading

0 comments on commit c6a8a60

Please sign in to comment.