1.5.0 • Published 1 month ago

eslint-config-arklint v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

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
  }
}