@lights-on-io/eslint-plugin
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

ESlint Plugin

This plugin includes strict configs for javascript and typescript, which are used at LightsON. It is based on eslint-config-airbnb and eslint-config-airbnb-typescript.

Install

npm install --save-dev @lights-on-io/eslint-plugin

Install peer dependencies listed when executing the following command:

npm info @lights-on-io/eslint-plugin peerDependencies

Add @lights-on-io to the plugins in your .eslintrc and add the configs:

{
	"plugins": ["@lights-on-io"],
	"overrides": [
		{
			"files": ["*.ts", "*.tsx"],
			"extends": ["plugin:@lights-on-io/typescript-strict"],
			"parserOptions": {
				"project": "./tsconfig.*?.json"
			}
		},
		{
			"files": ["*.js", "*.jsx"],
			"extends": ["plugin:@lights-on-io/javascript-strict"]
		}
	]
}

/@lights-on-io/eslint-plugin/

    Package Sidebar

    Install

    npm i @lights-on-io/eslint-plugin

    Homepage

    lights-on.io

    Weekly Downloads

    1

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    113 kB

    Total Files

    90

    Last publish

    Collaborators

    • manuelhoss
    • haenela
    • lights-on
    • bddy