Coder Social home page Coder Social logo

Comments (7)

mhinton avatar mhinton commented on June 26, 2024

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.

kokjinsam avatar kokjinsam commented on June 26, 2024

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.

arunoda avatar arunoda commented on June 26, 2024

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.

mhinton avatar mhinton commented on June 26, 2024

Yes, I have no problem with a set of eslint rules.

from mantra.

natecox avatar natecox commented on June 26, 2024

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.

DouglasUrner avatar DouglasUrner commented on June 26, 2024

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.

arunoda avatar arunoda commented on June 26, 2024

I'm going to close this since we are already using eslint with some good configuration.

from mantra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.