@passionio/eslint-config-js
v1.6.0
Published
[![npm version](https://badge.fury.io/js/@passionio%2Feslint-config-js.svg)](https://badge.fury.io/js/@passionio%2Feslint-config-js) This package provides Passion.io's .eslintrc as an extensible shared config.
Downloads
833
Readme
eslint-config-js
This package provides Passion.io's .eslintrc as an extensible shared config.
Installing
For node version >= 12 use the lastest version except 1.4.0
yarn install -D @passionio/eslint-config-js \
eslint@7 \
eslint-plugin-simple-import-sort \
eslint-config-airbnb-base \
eslint-plugin-import \
eslint-config-prettier \
eslint-plugin-prettier \
eslint-plugin-prefer-arrow \
prettier
For node version < 12 use version 1.3.0
yarn install -D @passionio/eslint-config-js \
[email protected] \
eslint-plugin-simple-import-sort \
[email protected] \
eslint-plugin-import \
eslint-config-prettier \
eslint-plugin-prettier \
eslint-plugin-prefer-arrow \
prettier
Usage
Add "extends": "@passionio/eslint-config-js"
to your .eslintrc file.