feat: generate awesome list from stars
This commit is contained in:
6
lint-staged.config.js
Normal file
6
lint-staged.config.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
'*.{js,css,json,md,yaml,yml}': ['prettier --write'],
|
||||
'*.md': (filenames) =>
|
||||
filenames.map((filename) => `'markdown-toc -i ${filename}`),
|
||||
'*.ts': ['npm run style:lint', 'npm run style:prettier'],
|
||||
};
|
Reference in New Issue
Block a user