1.0.0 ā¢ Published 4 years ago
@suncin/eslint-config-typescript v1.0.0
A set of recommended eslint rules for typescript projects
Install
npm install --dev @suncin/eslint-config-typescript
Then extends your eslint file (edit .eslintrc.json
)
{
"extends": ["typescript"]
}
Other configs
{
"extends": [
"typescript",
"typescript/security",
"typescript/jest"
"typescript/all"
]
}
Note: typescript/all
include all the previous configs.
Example configuration
{
"extends": ["typescript"],
"plugins": ["filenames"],
"env": {
"node": true
},
"rules": {
"filenames/no-index": "error",
"filenames/match-exported": ["error", "kebab"]
}
}
Run tests
npm test
Author
š¤ Jaime Leonardo Suncin Cruz
- Website: https://suncin.me
- Twitter: @jl_suncin
- Github: @leosuncin
- LinkedIn: @jaimesuncin
š¤ Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a āļø if this project helped you!
š License
Copyright Ā© 2020 Jaime Leonardo Suncin Cruz. This project is MIT licensed.
This README was generated with ā¤ļø by readme-md-generator
1.0.0
4 years ago