New prittier rule. No trailing commas.
This commit is contained in:
@@ -22,14 +22,14 @@ const DateRoute: React.FC<unknown> = () => {
|
||||
return {
|
||||
year: 0,
|
||||
month: 0,
|
||||
day: 0,
|
||||
day: 0
|
||||
};
|
||||
}
|
||||
|
||||
const date = {
|
||||
year: 0,
|
||||
month: 0,
|
||||
day: 0,
|
||||
day: 0
|
||||
};
|
||||
|
||||
if (/^(19|20)\d{2}$/.test(`${dateArr[0]}`)) {
|
||||
|
||||
Reference in New Issue
Block a user