eslint-config-arklint

1.7.1 • Public • Published

eslint-config-arklint

My personal ESLint configuration. Most of it is based on eslint-config-react-app but with additional stylistic and JSDoc rules.


Installation

yarn add eslint-config-arklint -D

You also need to add ESLint in your devDependencies:

yarn add eslint -D

Usage

Add the extend in your .eslintrc.js:

module.exports = {
  extends: "arklint",
  rules: {
    // Rule overrides
  }
}

The default configuration includes the extensions for import and jsdoc. The configuration for react has to be added manually:

module.exports = {
  extends: [
    "arklint",
    "arklint/extensions/react"
  ],
  rules: {
    // Rule overrides
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-arklint

Weekly Downloads

101

Version

1.7.1

License

MIT

Unpacked Size

2.75 MB

Total Files

10

Last publish

Collaborators

  • arkellys