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

Package Sidebar

Install

npm i eslint-config-proton

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

41.6 kB

Total Files

13

Last publish

Collaborators

  • bolajiolajide