Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet committed Apr 9, 2024
1 parent bd58cec commit 2ff135f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"serve": "gatsby serve",
"clean": "gatsby clean",
"check-types": "tsc -p . --noEmit",
"lint": "eslint \"*/**/*.{js,ts,tsx,mdx}\" --max-warnings 0 --fix",
"lint-check": "eslint \"*/**/*.{js,ts,tsx,mdx}\" --max-warnings 0",
"lint": "npx eslint \"*/**/*.{js,ts,tsx,mdx}\" --max-warnings 0 --fix",
"lint-check": "npx eslint \"*/**/*.{js,ts,tsx,mdx}\" --max-warnings 0",
"prepare": "husky"
},
"dependencies": {
Expand Down Expand Up @@ -67,7 +67,7 @@
},
"lint-staged": {
"*.{js,ts,tsx,mdx}": [
"eslint --fix"
"npx eslint --fix"
]
}
}
1 change: 0 additions & 1 deletion src/components/CookieConsentBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference types="vanilla-cookieconsent" />

import { CookieManager } from '../helper';
Expand Down
5 changes: 1 addition & 4 deletions src/sections/home/Newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,7 @@ const Form: FC<FormProps> = props => {
<Grid
component="form"
container
onSubmit={
// eslint-disable-next-line @typescript-eslint/no-misused-promises
handleSubmit
}
onSubmit={handleSubmit}
justifyContent={['center', 'start']}
>
<Grid
Expand Down

0 comments on commit 2ff135f

Please sign in to comment.