1.4.7 • Published 4 years ago
@formsort/eslint-config v1.4.7
@formsort/eslint-config
Shared ESLint configuration for use across all projects
Usage
- Install this project and its
peerDependenciesin 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- Ensure that your project has a
tsconfig.jsonin the root. If you want, use the formsort common tsconfig. - Create a
.eslintrc.jsin the root with the following content:
module.exports = {
extends: "@formsort/eslint-config"
};- 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
4 years ago
1.4.4
4 years ago
1.4.3
4 years ago
1.4.2
4 years ago
1.4.1
4 years ago
1.4.0
4 years ago
1.4.7
4 years ago
1.3.7
4 years ago
1.3.6
4 years ago
1.3.5
5 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
6 years ago
1.0.3-alpha.0
6 years ago
1.0.2-alpha.0
6 years ago
1.0.1-alpha.0
6 years ago