Skip to content

wix-incubator/eslint-config-wix-editor

Repository files navigation

eslint-config-wix-editor

NPM Version License Dependency Status devDependency Status

ESLint shareable config for Wix's editor group

Install

$ npm i -D eslint-config-wix-editor

Usage

Add some ESLint config to your package.json:

{
	"name": "some-well-linted-project",
	"eslintConfig": {
		"extends": "wix-editor"
	}
}

Or to .eslintrc:

{
	"extends": "wix-editor"
}

This package also exposes wix-editor/node. This config contains only node-specific rules and is meant to be used alongside the regular config:

{
	"extends": ["wix-editor", "wix-editor/node"]
}

License

Copyright (c) 2015 Wix. Licensed under the MIT license.