hypeserver / react-date-range

A React component for choosing dates and date ranges.
MIT License
2.58k stars 667 forks source link

ESlint/Prettier fixes #438

Closed akx closed 1 year ago

akx commented 3 years ago

Types of changes

What types of changes does your code introduce?

Description

I noticed the ESlint ignore file was misnamed as . eslintignore, not .eslintignore.

After that, running lint yielded some warnings, so I fixed the configuration issues that led to those.

Since the Prettier configuration was moved out of the Eslint configuration, it's now usable for other files than just JS, so I finally ran everything through Prettier, just so everything is on the same page.

akx commented 1 year ago

Guess not :) Closing to clean up my PR list ✌️