1.0.0 • Published 3 years ago
eslint-config-rasi v1.0.0
eslint-config-sc
This package provides ESLint rules as an extensible shared config.
Extends Airbnb's config.
Table of Contents
Usage
eslint-config-sc
Install the correct versions of each package, which are listed by the command:
npm info "eslint-config-sc@latest" peerDependencies
Linux/OSX users can simply run the following to install:
( export PKG=eslint-config-sc; npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest" )
Which produces and runs a command like:
npm install --save-dev eslint-config-sc eslint@^#.#.# eslint-plugin-import@^#.#.#
Extend the config in your eslintrc
// .eslintrc.js module.exports = { extends: "rasi", };
Contributing
You can make sure this module lints with itself using npm run lint
.
1.0.0
3 years ago