From e862e7e5d28d00cf33159d4621163d37c81d2df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iiro=20Ja=CC=88ppinen?= Date: Mon, 1 Jul 2019 09:47:39 +0300 Subject: [PATCH] docs: correct config file name --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1891c1c1..afca9075d 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ module.exports = { ### Example: Run `tsc` on changes to TypeScript files, but do not pass any filename arguments ```js -// lintstaged.config.js +// lint-staged.config.js module.exports = { '**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit' } @@ -136,7 +136,7 @@ module.exports = { ### Example: Use your own globs ```js -// lintstaged.config.js +// lint-staged.config.js const micromatch = require('micromatch') module.exports = { '*': allFiles => {