1.4.7 • Published 3 years ago

@formsort/eslint-config v1.4.7

Weekly downloads
125
License
MIT
Repository
-
Last release
3 years ago

@formsort/eslint-config

Shared ESLint configuration for use across all projects

Usage

  1. Install this project and its peerDependencies in your respository:
npm install --save-dev @formsort/eslint-config eslint-plugin-prefer-arrow eslint-plugin-jsdoc@24 eslint-plugin-prettier eslint-config-prettier eslint-plugin-import prettier eslint-plugin-react @typescript-eslint/eslint-plugin
  1. Ensure that your project has a tsconfig.json in the root. If you want, use the formsort common tsconfig.
  2. Create a .eslintrc.js in the root with the following content:
module.exports = {
  extends: "@formsort/eslint-config"
};
  1. For convenience, you may want to add the following scripts to your package.json
{
  "scripts": {
    "format": "eslint -c .eslintrc.js --ext .ts,.tsx src --fix",
    "lint": "eslint -c .eslintrc.js --ext .ts,.tsx src"
  }
}
1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.4.7

3 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.0

5 years ago

1.2.1

5 years ago

1.1.0

5 years ago

1.0.3-alpha.0

5 years ago

1.0.2-alpha.0

5 years ago

1.0.1-alpha.0

5 years ago