This repository contains multiple ESLint configurations bundled together. It provides configurations for Angular, Vue, and TypeScript projects.
To install the ESLint configuration for a specific framework, you can use npm. For example, to install the configuration, run the following command:
Angular:
npm install --save-dev @lenne.tech/eslint-config-angular
Vue:
npm install --save-dev @lenne.tech/eslint-config-vue
TypeScript:
npm install --save-dev @lenne.tech/eslint-config-ts
Once the package is installed, you need to update your project's ESLint configuration file (usually .eslintrc.json
) to extend the desired configuration.
Angular:
{
"extends": "@lenne.tech/angular"
}
Vue:
{
"extends": "@lenne.tech/vue"
}
TypeScript:
{
"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.
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.
This package is open-source and released under the MIT License. Feel free to use it in your projects.