eslint-config-parcellab

0.1.0 • Public • Published

eslint-config-parcellab

This package provides parcelLab's .eslintrc as an extensible shared config.

Install

$ npm i -D eslint-config-parcellab

Usage

Create an .eslintrc.json file in your project. Then add:

{
  "extends": "parcellab"
}

Rules

This config exteds the eslint:recommended and adds these rules:

  • Ecmaversion 2018, source type: module
  • No semi!
  • No var!
  • No undef!
  • No unused vars!
  • No multi assign!
  • No errors for not using arrow callbacks - it's up to you which to use...
  • Multiline comma dangle!
  • Spacing: 2 spaces!
  • Quotes: single, allow template literal
  • and some more useful rules & restricted syntax errors

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-parcellab

Weekly Downloads

448

Version

0.1.0

License

MIT

Unpacked Size

4.58 kB

Total Files

3

Last publish

Collaborators

  • andruschka