Skip to content

Commit

Permalink
chore: fix lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupert Redington committed Sep 11, 2021
1 parent 5562c2e commit 02b4fcf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
5 changes: 5 additions & 0 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
'*.{js,ts,tsx}': ['prettier --write', 'eslint --max-warnings=0'],
'**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit',
'*.{json,md,yml}': ['prettier --write'],
};
11 changes: 0 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@
"bugs": {
"url": "https://github.com/neontribe/gbptm/issues"
},
"lint-staged": {
"*.js": [
"eslint --max-warnings 0",
"prettier --write"
],
"*.ts": [
"eslint --max-warnings 0",
"prettier --write"
],
"*.css": "stylelint"
},
"dependencies": {
"@apollo/client": "3.4.10",
"@artsy/fresnel": "1.5.0",
Expand Down

1 comment on commit 02b4fcf

@vercel
Copy link

@vercel vercel bot commented on 02b4fcf Sep 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.