Created
December 18, 2019 14:52
-
-
Save rjbultitude/08d3df5fe6322d32de16975efb680513 to your computer and use it in GitHub Desktop.
Lint staged config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"name": "xt-boilerplate", | |
"version": "1.0.0", | |
"private": true, | |
"description": "An unopinionated boilerplate for creating web applications", | |
"main": "src/index.js", | |
"lint-staged": { | |
"linters": { | |
"*.{ts,js,tsx,t.ds}": [ | |
"prettier --write", | |
"eslint --fix", | |
"git add" | |
], | |
"*.json": [ | |
"prettier --write", | |
"git add" | |
], | |
"*.{css,less,sass,scss,styl,sss}": [ | |
"stylelint --fix", | |
"git add" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment