1.4.7 • Published 2 years ago

@formsort/eslint-config v1.4.7

Weekly downloads
125
License
MIT
Repository
-
Last release
2 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

2 years ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.4.7

2 years ago

1.3.7

3 years ago

1.3.6

3 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

4 years ago

1.2.2

4 years ago

1.2.0

4 years ago

1.2.1

4 years ago

1.1.0

4 years ago

1.0.3-alpha.0

4 years ago

1.0.2-alpha.0

4 years ago

1.0.1-alpha.0

4 years ago