-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add file extensions support for major languages #1478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ybiquitous If you resolve this conflict, I'm good to merge this. |
0a56232
to
4d76640
Compare
@mAAdhaTTah Sorry late reply. 🙇 I merged right now, please check it when you have a time! |
@ybiquitous |
This adds aliases for file extensions of some major languages. - `.coffee` -> `.coffee` - `.md` -> `.markdown` - `.py` -> `.python` - `.rb` -> `.ruby` - `.yml` -> `.yaml`
4d76640
to
ceaa6a4
Compare
@RunDevelopment Sorry, I pushed now minified version via |
By the way, what about thinking about auto-minification? For example, Using // package.json
{
"husky": {
"hooks": {
"pre-commit": "lint-staged",
}
},
"lint-staged": {
"*.js": ["gulp", "git add"]
}
} |
This certainly is an interesting option. @mAAdhaTTah What do you think? |
@RunDevelopment I'm into it. We use that combo @ work without issues. We had also talked about introducing ESLint (#1483); might be worth bundling that together. |
This adds aliases for file extensions of some major languages.
.coffee
->.coffeescript
.md
->.markdown
.py
->.python
.rb
->.ruby
.yml
->.yaml
Such as:
prism/components/prism-javascript.js
Line 56 in 7d084d5