Thanks Andy,

Can you put all of this into an issue? We can take a look.

-N

On Sun, Nov 8, 2015, 8:19 AM Andy Brown <[email protected]> wrote:

> Hi,
>
> Maybe I'm am being dim (or was being dim), but it took me ages to figure
> out that in order to get the recommended set of rules, I needed:
> "extends": "eslint:recommended"
>
> In my .eslintrc.
>
> I read this from the rules page (http://eslint.org/docs/rules/):
>
>> Though none are enabled by default, you can turn on rules that ESLint
>> recommends by specifying your configuration to inherit from
>> eslint:recommended. The rules that will be enabled when you inherit from
>> eslint:recommended are indicated below as "(recommended)". For more
>> information on how to configure rules and inherit from eslint:recommended,
>> please see the configuration documentation
>> <http://eslint.org/docs/user-guide/configuring>.
>>
>
> And I was thinking, Yes yes yes, that's what I want, I really want to
> inherit your recommended rules, but alas I couldn't figure it out from
> there. I went through to configuration documentation, and couldn't see how
> to *use* eslint:recommened. There is a section on 'extending' but the
> text above doesn't mention that in order to "inherit" eslint's recommended
> rules, you need to extend. It might be a bit dumb but I didn't make that
> link.
>
> I think it would be an improvement if the text on the rules page said
> something like "... specifying your configuration inherit from
> eslint:recommended by using `"extends": "eslint:recommended"`.
>
> I'm sorry this is not a pull request, but I don't know how to do that yet.
>
> Thanks,
>
> Andy
>
> --
> You received this message because you are subscribed to the Google Groups
> "ESLint" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to