eslint-plugin-jane

12.0.5 • Public • Published

eslint-plugin-jane

Jane's ESLint plugin and configurations.

npm version Maintainability


Installation

npm i -D eslint eslint-plugin-jane

Usage

.eslintrc.json:

{
  "root": true,
  "extends": [
    "plugin:jane/recommended",
    "plugin:jane/react",
    "plugin:jane/node",
    "plugin:jane/typescript",
    "plugin:jane/prettier",
    "plugin:jane/jest"
  ],
  "plugins": ["jane"]
}

You can extend any or all of the exported configurations. If you are using the typescript plugin, some of the rules require this to be added to the .eslintrc file

"parser": "@typescript-eslint/parser",
"parserOptions": {
  "project": "./tsconfig.json"
},

You can also use or extend our Prettier config:

.prettierrc.js:

module.exports = require('eslint-plugin-jane/prettier')

License

MIT

Package Sidebar

Install

npm i eslint-plugin-jane

Weekly Downloads

8

Version

12.0.5

License

MIT

Unpacked Size

16.6 kB

Total Files

12

Last publish

Collaborators

  • achavez-jane
  • janemra
  • kianamcc
  • danny-jane
  • hsareen
  • ghaylett-jane
  • gordon-at-jane
  • ehickman-jane
  • febot
  • jdreher
  • zacanger