Skip to content

Commit

Permalink
docs: Fix suggested .lintstagedrc.json in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Naumov committed Dec 16, 2019
1 parent 41f98e8 commit f617d0a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,9 @@ $ npm i husky lint-staged --save-dev
##### **`.lintstagedrc.json`**
```js
{
"linters": {
"src/**/*.{ts,js}": ["npm run lint:es", "git add"],
"src/**/*.less": ["prettier --write", "npm run lint:less", "git add"],
"src/**/*.{md,json,template.html}": ["prettier --write", "git add"]
}
"src/**/*.{ts,js}": ["lint:es", "git add"],
"src/**/*.less": ["prettier --write", "lint:less", "git add"],
"src/**/*.{md,json,template.html}": ["prettier --write", "git add"]
}
```

Expand Down

0 comments on commit f617d0a

Please sign in to comment.