Skip to content

Commit

Permalink
refactor: suppress eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed Feb 5, 2022
1 parent afc898c commit 4c8b995
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2021-09-16 09:28:13
* @LastEditTime: 2022-01-18 09:49:21
* @LastEditTime: 2022-02-06 02:07:48
* @LastEditors: zouyaoji
* @Description:
* @FilePath: \vue-cesium@next\.eslintrc.js
Expand Down Expand Up @@ -62,7 +62,7 @@ module.exports = {
},
singleline: {
delimiter: 'semi',
requireLast: true
requireLast: false
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion packages/components/viewer/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2021-09-16 09:28:13
* @LastEditTime: 2022-01-27 13:41:19
* @LastEditTime: 2022-02-06 02:00:09
* @LastEditors: zouyaoji
* @Description:
* @FilePath: \vue-cesium@next\packages\components\viewer\src\index.ts
Expand Down
1 change: 1 addition & 0 deletions packages/shared/src/MeasureUnits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class MeasureUnits {
return prefix + degrees + '° ' + seconds + "' " + numberToFormattedString(60 * (minutes - seconds), void 0, decimals) + '"'
}
if (angleUnits === AngleUnits.RATIO) {
//
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/utils/emits.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2022-01-12 14:34:05
* @LastEditTime: 2022-01-27 23:28:24
* @LastEditTime: 2022-02-06 02:00:54
* @LastEditors: zouyaoji
* @Description:
* @FilePath: \vue-cesium@next\packages\utils\emits.ts
Expand Down
4 changes: 3 additions & 1 deletion packages/utils/private/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ try {
})
window.addEventListener('qtest', null as any, opts)
window.removeEventListener('qtest', null as any, opts)
} catch (e) {}
} catch (e) {
//
}

// eslint-disable-next-line @typescript-eslint/no-empty-function
export function noop() {}
Expand Down

0 comments on commit 4c8b995

Please sign in to comment.