1.1.13 • Published 8 months ago
@valora/eslint-config-typescript v1.1.13
@valora/eslint-config-typescript
Shareable ESLint config for Valora TypeScript packages.
Installing
Add the ESLint config in your package:
yarn add @valora/eslint-config-typescript --devand add all the peerDependencies.
Using
Add a script to your package.json like:
{
"scripts": {
"lint": "eslint --ext=.tsx,.ts src/"
}
}and create a .eslintrc.js file:
module.exports = {
extends: ['@valora/eslint-config-typescript'],
// The @typescript-eslint/no-floating-promises and @typescript-eslint/no-misused-promises
// plugins require a full compilation, so pass the `tsconfig.json` config file.
parserOptions: {
project: './tsconfig.json',
},
ignorePatterns: ['**/__mocks__/**', '**/lcov-report/**', 'vendor', '.bundle'],
}Resources
ESLint Shareable Configs.
Contributing
- Reporting issues
- Submitting a pull request
- Publishing updates is done automatically via semantic-release. Remember to use conventional commits or your PR will be rejected (since merging it would mess up the changelog and version numbers).
1.1.13
8 months ago
1.1.12
8 months ago
1.1.11
9 months ago
1.1.10
9 months ago
1.1.9
9 months ago
1.1.8
9 months ago
1.1.7
10 months ago
1.1.6
10 months ago
1.1.5
10 months ago
1.1.4
10 months ago
1.1.3
10 months ago
1.1.2
11 months ago
1.1.1
11 months ago
1.1.0
11 months ago
1.0.4
11 months ago
1.0.3
11 months ago
1.0.2
2 years ago
1.0.1
3 years ago
1.0.0
4 years ago
0.0.1
4 years ago