Fix lint issues

This commit is contained in:
Daniel Lautzenheiser 2023-04-05 09:53:51 -04:00
parent 9e22385e8d
commit 4d5ebf3ccd
3 changed files with 1173 additions and 22 deletions

View File

@ -16,7 +16,12 @@
"clean": "rimraf dist dev-test/dist",
"prepublishOnly": "yarn build ",
"prepack": "cp ../../README.md ./",
"postpack": "rm ./README.md"
"postpack": "rm ./README.md",
"format:prettier": "prettier \"src/**/*.{js,jsx,ts,tsx,css}\" --write",
"format": "run-s \"lint:js --fix --quiet\" \"format:prettier\"",
"lint:format": "prettier \"src/**/*.{js,jsx,ts,tsx,css}\" --list-different",
"lint:js": "eslint --color \"src/**/*.{ts,tsx}\"",
"lint": "run-p -c --aggregate-output \"lint:*\""
},
"main": "dist/static-cms-app.js",
"files": [

View File

@ -1,4 +1,4 @@
export const DEFAULT_DATE_FORMAT = 'yyyy-MM-dd';
export const DEFAULT_TIME_FORMAT = 'HH:mm:ss.SSS';
export const DEFAULT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS";
export const DEFAULT_TIMEZONE_FORMAT = "XXX";
export const DEFAULT_TIMEZONE_FORMAT = 'XXX';

1186
yarn.lock

File diff suppressed because it is too large Load Diff