Need private packages and team management tools?Check out npm Teams »

eslint-config-proton

1.0.7 • Public • Published

ESLINT-CONFIG-PROTON

An opinionated ESLint config made by Bolaji Olajide (@Proton). It is based on Stephen Grider's RallyCoding configuration.

Installation

Installation is easy and can be done with the command:

npm install eslint-config-proton --save-dev

or

yarn add eslint-config-proton --dev

Usage

Once installation is complete, create a .eslintrc file, this is where your project's eslint config is saved. Add the following line to the file and you have the eslint-proton-config enabled for your project.

{
  "root": true,
  "extends": "proton",
  "env": {
    "node": true,
    "es6": true,
    "mocha": true
  },
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module",
    "allowImportExportEverywhere": true
 }
}

LICENSE

MIT

Install

npm i eslint-config-proton

DownloadsWeekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

41.6 kB

Total Files

13

Last publish

Collaborators

  • avatar