@seatentacle/eslint-plugin

1.2.0 • Public • Published

SeaTentacle ESLint Plugin

GitHub license NPM Version semantic-release

Installation

The plugin uses @typescript-eslint/parser even for javascript projects.

npm i --save-dev @seatentacle/eslint-plugin

Note: make sure that your project has typescript and eslint installed.

Usage

Add @seatentacle to the plugins section of a .eslintrc file. In the extends section add the desired config.

{
  "plugin": [
    "@seatentacle"
  ],
  "extends": [
    "plugin:@eseatentacle/javascript"
  ]
}

Note: make sure the appropriate extensions are passed in the eslint command. By default, eslint searches only for .js files.

Configs

The plugin contains two configs:

  • plugin:@seatentacle/javascript describes general rules
  • plugin:@seatentacle/typescript contains javascript config and rules specific for TS

License

The code is licensed under MIT.

Dependents (0)

Package Sidebar

Install

npm i @seatentacle/eslint-plugin

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

6.86 kB

Total Files

7

Last publish

Collaborators

  • seatentacle