0.1.5 • Published 8 months ago
@baseland-io/eslint-config-baseland v0.1.5
eslint-config-baseland
Baseland.io ESLint Rules and Standards.
Installation within a project
Make sure you do not already have eslint
globally installed in your system. There's an ESLint bug report with further details.
Remove ESLint globally
npm uninstall eslint -g
rm ~/.eslintrc
Install the shareable config and the dependencies as a development dependency:
npm install --save-dev \
@baseland-io/eslint-config-baseland \
@typescript-eslint/eslint-plugin \
@typescript-eslint/parser \
eslint \
typescript
In the project root directory, create an empty file called .eslintrc.json
:
touch .eslintrc.json
In the .eslintrc.json
file, add the following:
{
"extends": "@baseland-io/eslint-config-baseland"
}