Comments (7)
I would have to immediately disagree with using that set of standardization rules. I use eslint to catch the things I am interested in and I don't need someone else's rules.
from mantra.
I think this is very useful for projects that have remote devs or even large projects that need some standard styling. Of course, different projects have different rules and standards. So this might not be applicable to some projects. I'm suggesting this because one of Mantra's aims is to have high maintainability and I think this could make mantra more maintainable.
from mantra.
I think having .eslint is pretty important since it can be used with a lot of tools.
And eslint have a lot of plugins where we need to extend if needed.
Current version of eslint is based Facebook's some public repos. That's a pretty strict(much better than airbnb) and good set of rules. I follow them in even our private projects.
from mantra.
Yes, I have no problem with a set of eslint rules.
from mantra.
I think this is a touchy subject. Code style is something that people take very personally, and I don't think that any project should be too forceful regarding the nit-picky details of how code is formatted. I would hate to lose support for this awesome spec just because people bicker about which rules to include.
I'm sure we could come up with a baseline .eslintrc
that most people can agree on, and make our rule 0 "Change them if your team agrees" to preclude evangelizing.
Here's my current eslint config as a reference for what I use: https://gist.github.com/natecox/1fca34cba9e4a80b2156
from mantra.
I think what we could say is that within a project a consistent style is very helpful for avoiding simple bugs and that it also makes it easier for new people to get up to speed. Then we can provide a list of tools such as ESlint and perhaps suggest some coding standards that have worked well on large projects, followed by Rule 0.
from mantra.
I'm going to close this since we are already using eslint with some good configuration.
from mantra.
Related Issues (20)
- Correct Way to Install a Bootstrap Theme? HOT 3
- Controllers and server-side context HOT 3
- Where is the best place to put your initial states with Reactive Dict/Local State HOT 1
- Unable to sign up /login on Mantra talk HOT 4
- should we use sub-manager for mantra ? HOT 2
- A linter for Mantra
- Accounts.onPasswordResetLink .... where??
- Dead link for Mantra live demo HOT 2
- Support Apollo HOT 1
- Meteor/MiniMongo is Local State HOT 1
- Global Subscription HOT 6
- Issue with re-rendering on Google Chrome Android (Moblie)
- Meteor methods in lib folder HOT 1
- Problem with Routing and Alert
- More intuitive react component naming convention HOT 4
- Ability to module-namespace actions HOT 13
- Issue with Mobile HOT 1
- how to get REF of containers component
- Clarify module meaning HOT 5
- Problems with @storybook/mantra-core and react-komposer@2 HOT 1
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 mantra.