Skip to content

Commit

Permalink
Upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorhakes committed Apr 5, 2021
1 parent 14d21ea commit b0f5695
Show file tree
Hide file tree
Showing 8 changed files with 2,295 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'prettier',
],
rules: {
"@typescript-eslint/ban-ts-ignore": "off"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 4.2.1
- Fixed missing source map
- Fixed security y18n

### 4.2.0
Added isoDate and isoDateTime masks

Expand Down
2 changes: 1 addition & 1 deletion dist/fecha.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/fecha.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare function assign<A, B>(a: A, b: B): A & B;
export declare function assign<A, B, C>(a: A, b: B, c: C): A & B & C;
export declare function assign<A, B, C, D>(a: A, b: B, c: C, d: D): A & B & C & D;
declare const defaultI18n: I18nSettings;
declare const setGlobalDateI18n: (i18n: Partial<I18nSettings>) => I18nSettings;
declare const setGlobalDateI18n: (i18n: I18nSettingsOptional) => I18nSettings;
declare const setGlobalDateMasks: (masks: {
[key: string]: string;
}) => {
Expand All @@ -27,7 +27,7 @@ declare const setGlobalDateMasks: (masks: {
* @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'
* @returns {string} Formatted date string
*/
declare const format: (dateObj: Date, mask?: string, i18n?: Partial<I18nSettings>) => string;
declare const format: (dateObj: Date, mask?: string, i18n?: I18nSettingsOptional) => string;
/**
* Parse a date string into a Javascript Date object /
* @method parse
Expand Down
2 changes: 1 addition & 1 deletion lib/fecha.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/fecha.umd.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fecha",
"version": "4.2.0",
"version": "4.2.1",
"description": "Date formatting and parsing",
"main": "lib/fecha.umd.js",
"module": "lib/fecha.js",
Expand Down Expand Up @@ -32,8 +32,8 @@
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"nyc": "^15.0.0",
"painless": "^0.9.7",
"prettier": "1.19.1",
Expand Down
2,282 changes: 2,282 additions & 0 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit b0f5695

Please sign in to comment.