@prazdevs/eslint-config
v3.2.1
Published
Get this config by extending [`@prazdevs/eslint-config`](https://www.npmjs.com/package/@prazdevs/eslint-config).
Downloads
28
Readme
ESLint config w/ Prettier formatting
Get this config by extending @prazdevs/eslint-config
.
Not interested in Prettier formatting? Check out
@prazdevs/eslint-config-vue
.
Prerequisites
This config needs the following dependencies installed:
'eslint': '>=7.30.0',
'prettier': '>=2.3.2',
Plugins
This config uses the following plugins:
'prettier',
Extends
This config extends the following configs:
'@prazdevs/eslint-config-vue',
'plugin:prettier/recommended'
Rules
This config adds/modifies the following rules:
// prettier config
'prettier/prettier': [
'error',
{
arrowParens: 'avoid',
proseWrap: 'always',
quoteProps: 'consistent',
semi: false,
singleQuote: true,
},
],
Note: using this config will disable most of @prazdevs/eslint-config-javascript
stylistic rules as Prettier now handles them.