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

Enable ESlint rules #1396

Merged
merged 11 commits into from
Nov 26, 2018
Merged

Enable ESlint rules #1396

merged 11 commits into from
Nov 26, 2018

Conversation

amanmahajan7
Copy link
Contributor

@amanmahajan7 amanmahajan7 commented Nov 26, 2018

  • Run ESLint on the common package
  • Enable some rules
    • no-whitespace-before-property
    • no-useless-constructor
    • no-useless-computed-key
    • no-const-assign
    • no-dupe-class-members
    • arrow-spacing
    • constructor-super
    • no-new-symbol
    • no-this-before-super

100% auto-fixed except no-useless-constructor

Copy link
Contributor

@nstepien nstepien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@amanmahajan7 amanmahajan7 merged commit 57119fd into master Nov 26, 2018
@amanmahajan7 amanmahajan7 deleted the am-eslint-rules branch November 26, 2018 15:59
rossjp pushed a commit to rossjp/react-data-grid that referenced this pull request Dec 14, 2018
* Enable ESLint on the common package

* Fix ESLint errors

* Enable the no-whitespace-before-property rule

* Enable the no-useless-constructor rule

* Enable the no-useless-computed-key rule

* Enable the arrow-spacing rule

* Enable the constructor-super rule

* Enable the no-const-assign rule

* Enable the no-dupe-class-members rule

* Enable the no-new-symbol rule

* Enable the no-this-before-super rule
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