Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add unopinionated preset #2182

Conversation

RicardoValdovinos
Copy link

Hello,

I'd like to work on and resolve #896

Currently, I have disabled four rules

no-array-for-each
no-array-reduce
no-null
prefer-switch

I was also considering disabling

switch-case-braces
empty-brace-spaces

as these are more related to style and should probably be handled by a formatter.

Lastly, as referenced in #1636, I'd like to suggest modifying prevent-abbreviations default setting to allow standard abbreviations such as arg, args, db, and env. There may be others but these are the immediate ones that came to mind.

@devunt
Copy link

devunt commented Aug 14, 2023

An other option is to make prettier preset separately for rules that conflicting with what prettier do.
Following rules can be disabled with prettier preset for now.

empty-brace-spaces
number-literal-case

@Zamiell
Copy link
Contributor

Zamiell commented Aug 17, 2023

@devunt Isn't that already covered by eslint-config-prettier? I don't think it needs to be in a separate config.

@sindresorhus
Copy link
Owner

See: #896 (comment)

Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add unopinionated preset
4 participants