@inthepocket/eslint-config-web

1.3.7 • Public • Published

@inthepocket/eslint-config-web

This contains all ESLint rules to lint a web project, maintained by the web practice. It contains a set of rules that ensure consistency throughout projects created at In The Pocket.

Keep in mind that this serves as a guiding principle, meaning that while we believe it should be included in every project because of the solid baseline it provides, you're allowed to turn off or add new rules based on the team's preferences.

Usage

Install

npm i -D @inthepocket/eslint-config-web

Configure ESLint

create an .eslintrc.js file with the following:

/** @type {import("eslint").Linter.Config} */
module.exports = {
  extends: ['@inthepocket/eslint-config-web'],
};

Add Lint script

{
  "scripts": {
    "lint": "eslint '**/*.{js,jsx,ts,tsx}' --fix"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @inthepocket/eslint-config-web

Weekly Downloads

21

Version

1.3.7

License

MIT

Unpacked Size

3.41 kB

Total Files

4

Last publish

Collaborators

  • moutpessemier
  • stijnv
  • robrechtme
  • klukies
  • eliaslecomte
  • gertjanreynaert
  • itpit
  • thibmaek
  • brecht
  • jonasdegeest
  • kevinmeyvaert
  • glenn.bostoen
  • tmons