@baseland-io/eslint-config-baseland

0.1.5 • Public • Published

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"
}

Further Reading

Package Sidebar

Install

npm i @baseland-io/eslint-config-baseland

Weekly Downloads

3

Version

0.1.5

License

MIT

Unpacked Size

10 kB

Total Files

6

Last publish

Collaborators

  • xzela