add support for @stylistic/eslint-plugin by abrahamguo · Pull Request #272 · prettier/eslint-config-prettier (original) (raw)
Since formatting rules have been deprecated from core ESLint and moved to @stylistic/eslint-plugin, this PR adds support for all the same rules in @stylistic/eslint-plugin. Despite its name, @stylistic/eslint-plugin still has rules that can be used with prettier:
- function-call-spacing
- lines-between-class-members
- padding-line-between-statements
- spaced-comment
- jsx-curly-brace-presence
- jsx-self-closing-comp
- jsx-sort-props
- lines-around-comment
- max-len
- no-confusing-arrow
- no-mixed-operators
- no-tabs
- quotes
This PR also updates package-lock.json to lockfileVersion: 3 (the version used by the current versions of npm) and ignores the .idea folder created by JetBrains IDEs.