twostoryrobot / prettier-config Goto Github PK
View Code? Open in Web Editor NEWprettier configuration for Two Story Robot
License: MIT License
prettier configuration for Two Story Robot
License: MIT License
Having a symlink created on install can be error prone(as already seen in our CI environment). @chrisfosterelli came up with a better solution of having the parent repo have a relative symlink checked into git.
@chrisfosterelli - Good point, if you uninstalled the file you’d still have to clean up the symlink. However I think [a relative symlink] is cleaner because:
The symlink is explicitly the main project’s responsibility. The other way, the submodule creates the file for you but then it becomes your responsibility to clean up after the submodule if you want to remove it.
Because it’s tracked in git in this case it could also be removed for every developer at once as a tracked git commit along with when they remove the module from
package.json
.If someone accidentally
npm install
’s it outside of a project, it’s going to create a symlink somewhere in their filesystem that they might not be aware of or remember to clean it up. Doesn’t have this issue with a parent project symlink.If someone accidentally
npm install -g
’s it there is going to be a root-owned symlink somewhere in/usr
that likely isn’t going to get cleaned up. Again, doesn’t have this issue under this other way.So primarily because ownership/cleanup is more clear and side-effects are less likely.
The eslint config needed to be published as eslint-config
. I think for consistency this package should be as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.