Skip to content

feat: Add ESLint and Prettier for code quality#55

Open
angelo-manalo wants to merge 1 commit into
vishnuraghavb:masterfrom
angelo-manalo:feature/linting-formatting-setup
Open

feat: Add ESLint and Prettier for code quality#55
angelo-manalo wants to merge 1 commit into
vishnuraghavb:masterfrom
angelo-manalo:feature/linting-formatting-setup

Conversation

@angelo-manalo

Copy link
Copy Markdown

This commit introduces ESLint and Prettier to the project to enforce consistent code style and identify potential errors.

Key changes:

  • Added ESLint, Prettier, eslint-plugin-prettier, eslint-config-prettier, and eslint-plugin-nuxt to devDependencies.
  • Configured ESLint (in .eslintrc) to use nuxt/recommended and prettier/recommended.
  • Created a .prettierrc file with project-specific formatting rules (single quotes, trailing commas).
  • Added .prettierignore to exclude third-party libraries and build artifacts.
  • Added lint and format npm scripts to package.json.
  • Formatted the existing codebase with Prettier.
  • Fixed linting issues with ESLint.
  • Updated README.md to include a "Code Quality" section explaining the new tools and scripts.

This commit introduces ESLint and Prettier to the project to enforce consistent code style and identify potential errors.

Key changes:
- Added ESLint, Prettier, eslint-plugin-prettier, eslint-config-prettier, and eslint-plugin-nuxt to devDependencies.
- Configured ESLint (in .eslintrc) to use nuxt/recommended and prettier/recommended.
- Created a .prettierrc file with project-specific formatting rules (single quotes, trailing commas).
- Added .prettierignore to exclude third-party libraries and build artifacts.
- Added `lint` and `format` npm scripts to package.json.
- Formatted the existing codebase with Prettier.
- Fixed linting issues with ESLint.
- Updated README.md to include a "Code Quality" section explaining the new tools and scripts.
@vercel

vercel Bot commented Jun 1, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
enbizcard ❌ Failed (Inspect) Jun 1, 2025 3:20pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant