@engrave/eslint-config-engrave

1.0.0 • Public • Published

@engrave/eslint-config-engrave

Common ESLint config for Engrave projects. This config is based on Airbnb's config with some modifications to fit our needs. It also includes Prettier rules to ensure code style consistency.

Installation

Install the package together with eslint and prettier:

npm install --save-dev @engrave/eslint-config-engrave eslint prettier

Config

Add the following to .eslintrc file:

{
  "extends": "@engrave/eslint-config-engrave"
}

Add the following to .prettierrc.js file:

module.exports = require('@engrave/eslint-config-engrave/prettier.config');

Add the following to package.json file:

{
  "scripts": {
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx"
  }
}

License

MIT

Package Sidebar

Install

npm i @engrave/eslint-config-engrave

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.83 kB

Total Files

4

Last publish

Collaborators

  • bgornicki