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(eslint): Add new eslint rules #3545

Merged
merged 4 commits into from May 17, 2021
Merged

feat(eslint): Add new eslint rules #3545

merged 4 commits into from May 17, 2021

Conversation

AbhiPrasad
Copy link
Member

Some eslint rules I wanted to add based on Kamil's review comments I saw earlier.

feat(eslint): Add naming convention for typeLike - 6c5cd37

Update @typescript-eslint/naming-convention to use 'PascalCase'
for typeLike declarations -> (class, interface, typeAlias, enum, typeParameter)

feat(eslint): Make class member accessibility explicit - 79be62c

Add @typescript-eslint/explicit-member-accessibility rule to make
sure class members declarations have explicit accessibility (public,
private, protected).

Update @typescript-eslint/naming-convention to use 'PascalCase'
for typeLike declarations -> (class, interface, typeAlias, enum, typeParameter)
@github-actions
Copy link
Contributor

github-actions bot commented May 14, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 20.75 KB (-0.01% 🔽)
@sentry/browser - Webpack 21.97 KB (0%)
@sentry/react - Webpack 22 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.13 KB (-0.01% 🔽)

Add @typescript-eslint/explicit-member-accessibility rule to make
sure class members declarations have explicit accessibility (public,
private, protected).
@AbhiPrasad AbhiPrasad enabled auto-merge (squash) May 17, 2021 11:13
@AbhiPrasad AbhiPrasad merged commit ac395a0 into master May 17, 2021
@AbhiPrasad AbhiPrasad deleted the abhi/eslint-updates branch May 17, 2021 12:00
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.

None yet

2 participants