Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding file extensions to lint by default #845
Comments
This comment has been minimized.
This comment has been minimized.
|
You should only need to use To answer your question: There is no way to add this to the Pro-tip: If you are using npm scripts, you do not need to use the full path {
"scripts": {
"test": "standard **/*.ts"
}
} |
feross
closed this
Apr 8, 2017
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
eadwu commentedApr 8, 2017
By running
node_modules/standard/bin/cmd.jsit only lints *.js and *.jsx as the usage information says. How would I add more file extensions, such as .ts so that it would be linted as well. Currently I usenode_modules/standard/bin/cmd.js */**/*.ts. While there is nothing wrong with this, is it possible to add the file extension to package.json?