Skip to content

An opensource collection of ESlint configs used by SeaTentacle

License

Notifications You must be signed in to change notification settings

seatentacle/eslint-plugin

Repository files navigation

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.

About

An opensource collection of ESlint configs used by SeaTentacle

Resources

License

Stars

Watchers

Forks

Packages

No packages published