Standard: Configuration

Created on 20 Feb 2018  路  3Comments  路  Source: standard/standard

In the README.md you have following statement:

This module saves you (and others!) time in three ways:

  • No configuration

But then you define these sections:

You describe a way of setting some configuration properties inside package.json.
Can you please describe what exactly the No configuration statement means?

Is your project is a simple setup of rules on top of eslint?

question

All 3 comments

Really, it's a bit old. I think from the times when there was no standard-engine from which most of the configuration features come/came.

In the other hand, it is because you don't need anything to do to start using it. Only if you are more exotic, then you have this opportunity.

In third hand, yes it is pretty simple and pretty minimal set of rules. And actually plays well with Prettier. Most of the rules are same style as Prettier does the things by default. I pretty much don't like eslint-config-prettier and that everyone using it - using the plugin is okey. In case with standard, it is too much. In reality if anyone get some time to review the rules, the diffs between them are in around ~10-30 rules if i remember correctly, so you only need to disable them, not everything as the config does.

_(long user of Standard here [from ~v1-v3? hmm], recent months switched to AirBnB - the diffs are not much, but there are ton more rules which are set which isn't bad thing in any way - i'm agree with most of them. Standard does not give much.. u still can get "no configuration" with pure shareable config, e.g. AirBnb's - i don't see any value in such CLIs anymore.. it's needless duplication of ESLint CLI)_

If you don't using it. Definitely try it, it won't hurt exactly because it is pretty minimal and good enough to start without worrying.

@olstenlarck thanks for your descriptive comment.

I'm using eslint + airbnb setup, and wanted to know what are the differences between Airbnb eslint configuration and the standard's one.

Closing this as it's not an issue with standard, but feel free to continue discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidjamesstone picture davidjamesstone  路  3Comments

Alexsey picture Alexsey  路  3Comments

muhajirdev picture muhajirdev  路  3Comments

mightyiam picture mightyiam  路  3Comments

jmz7v picture jmz7v  路  3Comments