1.3.7 • Published 2 years ago

@inthepocket/eslint-config-web v1.3.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

2 years ago

1.3.6

2 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.1-alpha.3

3 years ago