0.0.2 • Published 1 year ago

@zaber/eslint-config v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

This package contains eslint configs we use in Zaber.

Files:

  • default.js - Typescript config for any project
  • react.js - Extends default.js for React projects
  • js.js - Configuration for plain JS (tooling, scripts)

Before you merge new changes, try it on local project by either npm link or by copying the files to node_modules.

The package is automatically published when pushed to master. The new version is automatically generated.

Installation

The package can be installed from the internal gitlab package registry (installed as @zaber/eslint-config)

echo @software-public:registry=https://gitlab.izaber.com/api/v4/packages/npm/ >> .npmrc
npm i @zaber/eslint-config@npm:@software-public/eslint-config

Usage

Add something similar to the following in your project's .eslintrc.js file

extends: '@zaber/eslint-config',