web/satellite: warn when indenting with tabs

This change adds a rule to the ESLint config to warn when tabs are used
instead of spaces for indentation.

Change-Id: I068d559211e0f9e40abaea86de839a409b405674
This commit is contained in:
Jeremy Wharton 2023-08-17 12:02:25 -05:00 committed by Storj Robot
parent c706df5218
commit db13e3ef15
3 changed files with 9 additions and 8 deletions

View File

@ -26,6 +26,7 @@ module.exports = {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-tabs': 'warn',
'indent': ['warn', 4],
'vue/html-indent': ['warn', 4],

View File

@ -2,7 +2,7 @@
// See LICENSE for copying information.
export enum CouponType {
NoCoupon = 'noCoupon',
FreeTierCoupon = 'freeTierCoupon',
SignupCoupon = 'signupCoupon'
NoCoupon = 'noCoupon',
FreeTierCoupon = 'freeTierCoupon',
SignupCoupon = 'signupCoupon'
}

View File

@ -11,11 +11,11 @@ export enum Memory {
EB = 1e18,
KiB = 2 ** 10,
MiB = 2 ** 20,
GiB = 2 ** 30,
TiB = 2 ** 40,
PiB = 2 ** 50,
EiB = 2 ** 60,
MiB = 2 ** 20,
GiB = 2 ** 30,
TiB = 2 ** 40,
PiB = 2 ** 50,
EiB = 2 ** 60,
}
export enum Dimensions {