This package has been deprecated

Author message:

Deprecated

eslint-plugin-zacanger

2.3.0 • Public • Published

eslint-plugin-zacanger

zacanger's ESLint plugin and configurations.

npm version CircleCI Maintainability


Installation

npm i -D eslint eslint-plugin-zacanger

Usage

.eslintrc.json:

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

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 the Prettier config:

.prettierrc.js:

module.exports = require('eslint-plugin-zacanger/prettier')
// OR for TS files
module.exports = require('eslint-plugin-zacanger/prettier-ts')

License

Package Sidebar

Install

npm i eslint-plugin-zacanger

Weekly Downloads

10

Version

2.3.0

License

LGPL-3.0

Unpacked Size

24.8 kB

Total Files

14

Last publish

Collaborators

  • zacanger