Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/prettier and eslint #1

Merged
merged 10 commits into from
Dec 13, 2024
Merged

Conversation

robsonalvesdevbr
Copy link
Owner

This pull request includes several changes focused on integrating ESLint and Prettier into the project, updating configuration files, and ensuring code consistency. The most important changes include adding ESLint and Prettier configurations, updating the package.json scripts, and modifying Angular-related files to align with the new linting and formatting rules.

ESLint and Prettier Integration:

  • .eslintignore: Added dist/ and node_modules/ directories to the ignore list.
  • .eslintrc.js: Introduced a comprehensive ESLint configuration with TypeScript, Angular, and Prettier plugins and rules.
  • .prettierignore: Added dist and node_modules directories to the ignore list.
  • .prettierrc: Updated Prettier configuration to enforce specific formatting rules such as printWidth, tabWidth, semi, and endOfLine.

Configuration Updates:

  • package.json: Added new scripts for linting and formatting, and included dependencies for ESLint, Prettier, and Angular ESLint. [1] [2]
  • angular.json: Configured Angular CLI to use Angular ESLint for linting.

Code Formatting:

  • Various TypeScript and HTML files: Applied consistent formatting changes to align with the new Prettier rules. [1] [2] [3] [4] [5] [6] [7] [8]

Additional Changes:

@robsonalvesdevbr robsonalvesdevbr merged commit 1900de3 into main Dec 13, 2024
2 checks passed
@robsonalvesdevbr robsonalvesdevbr deleted the feature/prettier_and_eslint branch December 13, 2024 19:11
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.

2 participants