0.0.2 • Published 3 years ago
@zaber/eslint-config v0.0.2
This package contains eslint configs we use in Zaber.
Files:
default.js- Typescript config for any projectreact.js- Extendsdefault.jsfor React projectsjs.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-configUsage
Add something similar to the following in your project's .eslintrc.js file
extends: '@zaber/eslint-config',