Skip to content

Commit

Permalink
fix: simplify lint-staged configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateu Aguiló Bosch committed Nov 2, 2018
1 parent d96e3c0 commit 529cb5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"followers": 90,
"following": 45,
"created_at": "2011-10-20T14:27:43Z",
"updated_at": "2018-06-22T10:20:03Z"
"updated_at": "2018-10-30T08:57:15Z"
}
]
7 changes: 2 additions & 5 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module.exports = {
linters: {
'*.js': ['npm run prettier --', 'git add'],
'.emdaer/**/*.md': ['npm run documentation --', 'git add *.md'],
},
ignore: ['lib/**/*.js'],
'*.js': ['eslint --fix', 'prettier --write', 'git add'],
'*.md': ['npm run documentation --', 'git add *.md'],
};

0 comments on commit 529cb5b

Please sign in to comment.