@prazdevs/eslint-config

3.2.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @prazdevs/eslint-config

Weekly Downloads

0

Version

3.2.1

License

MIT

Unpacked Size

3.12 kB

Total Files

4

Last publish

Collaborators

  • prazdevs