https://github.com/lennetech/eslint-config
https://github.com/lennetech/eslint-config
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lennetech/eslint-config
- Owner: lenneTech
- Created: 2023-06-29T12:43:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-06T13:51:56.000Z (over 1 year ago)
- Last Synced: 2025-03-25T10:42:46.435Z (over 1 year ago)
- Language: JavaScript
- Size: 353 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @lenne.tech/eslint-config
This repository contains multiple ESLint configurations bundled together. It provides configurations for Angular, Vue, and TypeScript projects.
## Installation
To install the ESLint configuration for a specific framework, you can use npm. For example, to install the configuration, run the following command:
Angular:
```bash
npm install --save-dev @lenne.tech/eslint-config-angular
```
Vue:
```bash
npm install --save-dev @lenne.tech/eslint-config-vue
```
TypeScript:
```bash
npm install --save-dev @lenne.tech/eslint-config-ts
```
## Configuration
Once the package is installed, you need to update your project's ESLint configuration file (usually `.eslintrc.json`) to extend the desired configuration.
Angular:
```json
{
"extends": "@lenne.tech/angular"
}
```
Vue:
```json
{
"extends": "@lenne.tech/vue"
}
```
TypeScript:
```json
{
"extends": "@lenne.tech/ts"
}
```
Similarly, you can extend the configurations for TypeScript and Vue projects by replacing @lenne.tech/eslint-config-angular with @lenne.tech/eslint-config-ts and @lenne.tech/eslint-config-vue respectively.
Make sure to adjust your ESLint configuration based on your project's needs, and consider adding any additional rules or plugins specific to your project.
## Contributing
Contributions to this ESLint configuration package are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the [GitHub repository](https://github.com/lenneTech/eslint-config).
## License
This package is open-source and released under the [MIT License](https://opensource.org/licenses/MIT). Feel free to use it in your projects.