This pull request introduces linting setup to the project, enhancing code quality and consistency.
Adds ESLint configuration: A new .eslintrc.json file is created, specifying the environment, extending eslint:recommended, and defining rules for indentation, linebreak style, quotes, and semicolons.
Updates package.json:
Adds eslint and related plugins (eslint-config-standard, eslint-plugin-import, eslint-plugin-node, eslint-plugin-promise) to devDependencies.
Introduces two new scripts, lint for checking issues and lint:fix for automatically fixing issues.
This pull request introduces linting setup to the project, enhancing code quality and consistency.
.eslintrc.json
file is created, specifying the environment, extendingeslint:recommended
, and defining rules for indentation, linebreak style, quotes, and semicolons.package.json
:eslint
and related plugins (eslint-config-standard
,eslint-plugin-import
,eslint-plugin-node
,eslint-plugin-promise
) todevDependencies
.lint
for checking issues andlint:fix
for automatically fixing issues.For more details, open the Copilot Workspace session.