DigitalBuild-AU / MyJobsAI

Job application tracker with many features
1 stars 0 forks source link

Fix GitHub Actions Linting Error #622

Open sweep-ai[bot] opened 6 months ago

sweep-ai[bot] commented 6 months ago

PR Feedback (click)

To resolve this issue, ESLint, a popular linting tool for JavaScript and TypeScript projects, was set up for both the backend and frontend. This involved creating ESLint configuration files in both directories to define the linting rules and environment, and modifying the package.json files to include a "lint" script that runs ESLint with the appropriate configurations.

Summary of Changes

  1. Created .eslintrc.json in the backend directory with ESLint rules and environment suitable for a Node.js project.
  2. Created .eslintrc.json in the frontend directory with ESLint rules and environment suitable for a React project.
  3. Modified package.json in the backend directory to include a "lint" script that runs ESLint on all JavaScript files within the directory.
  4. Modified package.json in the frontend directory to include a "lint" script that runs ESLint on all JavaScript and JSX files within the directory.

These changes not only fix the GitHub Actions workflow but also enhance the project's maintainability and code quality by enforcing consistent coding standards.

sweep-ai[bot] commented 6 months ago

Rollback Files For Sweep