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:
parent
c706df5218
commit
db13e3ef15
@ -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],
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// See LICENSE for copying information.
|
||||
|
||||
export enum CouponType {
|
||||
NoCoupon = 'noCoupon',
|
||||
FreeTierCoupon = 'freeTierCoupon',
|
||||
SignupCoupon = 'signupCoupon'
|
||||
NoCoupon = 'noCoupon',
|
||||
FreeTierCoupon = 'freeTierCoupon',
|
||||
SignupCoupon = 'signupCoupon'
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user