mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 19:01:54 +02:00
docs: Small change to test lint staging
This commit is contained in:
@@ -11,10 +11,10 @@ const escape = require('shell-quote').quote
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
'*.{ts,tsx,js,json,css}': filenames => [
|
||||
'*.{ts,tsx,js,json,css,md}': filenames => [
|
||||
...filenames.map(filename => `prettier --check "${escape([filename])}"`),
|
||||
...filenames.map(filename => `git add "${filename}"`),
|
||||
],
|
||||
'*.{ts,tsx,js}': ['eslint'],
|
||||
'*.{ts,tsx,css}': ['stylelint'],
|
||||
'*.{ts,tsx,js,md}': ['eslint'],
|
||||
'*.{ts,tsx,css,md}': ['stylelint'],
|
||||
}
|
||||
|
Reference in New Issue
Block a user