@sensebox/eslint-config-sensebox

1.1.1 • Public • Published

@sensebox/eslint-config-senseBox

Use this package for consistent linting and formatting throughout all senseBox projects.

Usage

Install the following packages:

Yarn

yarn add --tilde --dev @sensebox/eslint-config-sensebox eslint@8.6.0

NPM

npm install --save-dev @sensebox/eslint-config-sensebox eslint@8.6.0

Add a .eslintrc.js to your project where you specify this package in the extends key

module.exports = {
  extends: ['@sensebox/eslint-config-sensebox']
};

Add a lint script to your package.json

{
  ...
  "scripts": {
    ...
    "lint": "eslint --fix \"{src,test,.scripts,whatever}/**/*.js\""
  }
}

Run yarn lint or npm run lint

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @sensebox/eslint-config-sensebox

      Weekly Downloads

      2

      Version

      1.1.1

      License

      MIT

      Unpacked Size

      3.28 kB

      Total Files

      3

      Last publish

      Collaborators

      • ubergesundheit
      • mpfeil
      • umut0
      • felixerdy
      • thiemann