Comments (7)
I've been thinking for a while that it would make sense to have a rubocop.yml
file or something similar in this repo to go along with the guides. That way, we can submit pull requests which update guides and linter config at the same time.
Then we could just copy the config changes to Hound (or eventually maybe get Hound to pull changes from this repository).
Anybody have feelings on that?
from guides.
I heartily approve of providing a well-commented rubocop.yml
file.
from guides.
First off, I enjoy your tree
output.
Second, I am in support of splitting out sections into subdirectories as you've suggested.
I've no strong feelings about the codified linter files, but don't think I'd want it to be a "literate config". I'd rather have it be sparse, with comment links-to-sections in the READMEs at best, and have the suggestions in prose in READMEs.
from guides.
When I say "well-commented", I mean comments like "Prefer if over unless" above the appropriate line. I think we agree on that, Caleb.
Without that context, rubocop.yml
will be hard to read and hard to change if I want to copy it to a project but change one item. It's not the most intuitive of formats.
from guides.
When I say "well-commented", I mean comments like "Prefer if over unless" above the appropriate line. I think we agree on that, Caleb.
Sure, makes sense.
from guides.
@jferris Getting Hound to pull from here is an interesting idea—especially if more languages are supported. This provides a nice workflow with teams where style guides are pulled from a single location so that the same standards can be used across an organization.
I like the idea of having at least the more often used guides (Ruby, CoffeeScript, Sass, and maybe EditorConfig) accompanied by linter configs because they are more actionable than prose alone. The README component is still important as these explanations are often a great learning tool for someone new to a language but having a lint config, where applicable, is helpful.
It looks like Neat added an SCSS-Lint config last week.
from guides.
This is being discussed in Hound: houndci/hound#293
from guides.
Related Issues (20)
- Add accessibility resources to guides HOT 8
- YouTube Video Unavailable HOT 5
- Should we delete empty (seemingly duplicate) graphql guide? HOT 1
- Document SVG best practices HOT 5
- Update Backbone guide? HOT 2
- Update Ember guide? HOT 1
- Update how-to guide on feature-testing a Rails app’s Javascript? HOT 2
- Document Go Best Practices HOT 2
- Replace Ruby style guide with standard HOT 2
- Combine Best Practices and Style guides HOT 3
- Our testing guides are ruby/rails-centric HOT 2
- What layout should we suggest for test suite files in JavaScript / TypeScript projects?
- Audit guides for potential improvements
- Guides have inconsistent formatting
- Data guide should use description lists HOT 4
- Change master to main in thoughtbot/guides HOT 4
- Inquiring about JSONB column issues HOT 2
- rebase workflow link missing from Git guide HOT 1
- 404 link in relational-databases
- A11y template HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guides.