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

feat: updated rules based on discussion #427

Closed
wants to merge 2 commits into from
Closed

feat: updated rules based on discussion #427

wants to merge 2 commits into from

Conversation

poohcom1
Copy link

Updated the following rules

  • import/named: error → off not required for typescript
  • comma-dangle: never` → always-multiline no trailing comma results in unnecessary diff
  • prefer-destructuring: error → off adds unnecessary lines and removes context from code
  • react/destructuring-assignment: error → off same as above
  • react/require-default-props: error → off not relevant to Typescript functional components
  • import/prefer-default-export: error → off adds unnecessary code change when adding exports
  • max-len: 120 → 200 most code bases here have longer lines
  • @typescript-eslint/naming-convention: ["warn", { "selector": "variable", "format": ["camelCase", "PascalCase", "UPPER_CASE"], "leadingUnderscore": "allow" }]

@poohcom1 poohcom1 closed this Apr 25, 2024
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.

3 participants