neutralinojs / neutralino.js

JavaScript API for Neutralinojs
https://neutralino.js.org/docs/api/overview
MIT License
237 stars 47 forks source link

Integrating ESLint and prettier for code quality and consistency #93

Closed Sadaf-A closed 7 months ago

Sadaf-A commented 7 months ago

Resolves: #91

This PR integrates ESLint and prettier to our workflow for code quality, consistency and formatting. This is a common practice in TypeScript projects and it will also ensure the maintainability, readability and cleanliness of the code.

run npm run format for formatting and npm run lint for linting

I have added basic settings for now that can be changed as per preference and I didn't run the commands before this PR as it would make the diff very large and make the PR harder to review

Sadaf-A commented 7 months ago

Thanks so much this idea is great to have well-formatted code 🎉

Glad to be able to contribute!