web/satellite: linter updated, analytics artifacts removed (#3043)
This commit is contained in:
parent
a342c3abad
commit
4266f8c364
@ -17,7 +17,7 @@ import SearchComponent from '@/components/common/SearchComponent.vue';
|
||||
|
||||
declare type searchCallback = (search: string) => Promise<void>;
|
||||
declare interface ClearSearch {
|
||||
clearSearch: () => void;
|
||||
clearSearch(): void;
|
||||
}
|
||||
|
||||
@Component({
|
||||
|
@ -40,7 +40,7 @@ import { ProjectMember, ProjectMemberHeaderState } from '@/types/projectMembers'
|
||||
import { APP_STATE_ACTIONS, NOTIFICATION_ACTIONS, PM_ACTIONS } from '@/utils/constants/actionNames';
|
||||
|
||||
declare interface ClearSearch {
|
||||
clearSearch: () => void;
|
||||
clearSearch(): void;
|
||||
}
|
||||
|
||||
@Component({
|
||||
|
@ -1,10 +0,0 @@
|
||||
// Copyright (C) 2019 Storj Labs, Inc.
|
||||
// See LICENSE for copying information.
|
||||
|
||||
const EVENTS = {
|
||||
CLICKED_LOGO: 'clicked-on-logo',
|
||||
CLICKED_LOGIN: 'clicked-on-login',
|
||||
CLICKED_BACK_TO_LOGIN: 'clicked-on-back-to-login',
|
||||
};
|
||||
|
||||
export default EVENTS;
|
@ -1,15 +0,0 @@
|
||||
// Copyright (C) 2019 Storj Labs, Inc.
|
||||
// See LICENSE for copying information.
|
||||
|
||||
export function isDoNotTrackEnabled () {
|
||||
const doNotTrackOption = (
|
||||
window.doNotTrack ||
|
||||
window.navigator.doNotTrack
|
||||
);
|
||||
|
||||
if (!doNotTrackOption) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return doNotTrackOption.charAt(0) === '1' || doNotTrackOption === 'yes';
|
||||
}
|
@ -11,7 +11,6 @@ import HeaderlessInput from '@/components/common/HeaderlessInput.vue';
|
||||
import { AuthApi } from '@/api/auth';
|
||||
import { RouteConfig } from '@/router';
|
||||
import { NOTIFICATION_ACTIONS } from '@/utils/constants/actionNames';
|
||||
import EVENTS from '@/utils/constants/analyticsEventNames';
|
||||
import { LOADING_CLASSES } from '@/utils/constants/classConstants';
|
||||
import { validateEmail } from '@/utils/validation';
|
||||
|
||||
|
@ -13,7 +13,6 @@ import { AuthApi } from '@/api/auth';
|
||||
import { RouteConfig } from '@/router';
|
||||
import { AuthToken } from '@/utils/authToken';
|
||||
import { APP_STATE_ACTIONS, NOTIFICATION_ACTIONS } from '@/utils/constants/actionNames';
|
||||
import EVENTS from '@/utils/constants/analyticsEventNames';
|
||||
import { AppState } from '@/utils/constants/appStateEnum';
|
||||
import { LOADING_CLASSES } from '@/utils/constants/classConstants';
|
||||
import { validateEmail, validatePassword } from '@/utils/validation';
|
||||
|
@ -15,7 +15,6 @@ import { RouteConfig } from '@/router';
|
||||
import { User } from '@/types/users';
|
||||
import { setUserId } from '@/utils/consoleLocalStorage';
|
||||
import { APP_STATE_ACTIONS, NOTIFICATION_ACTIONS } from '@/utils/constants/actionNames';
|
||||
import EVENTS from '@/utils/constants/analyticsEventNames';
|
||||
import { LOADING_CLASSES } from '@/utils/constants/classConstants';
|
||||
import { validateEmail, validatePassword } from '@/utils/validation';
|
||||
|
||||
|
@ -38,7 +38,9 @@
|
||||
"no-eval": true,
|
||||
"no-invalid-template-strings": true,
|
||||
"no-invalid-this": true,
|
||||
"no-misused-new": true,
|
||||
"no-static-this": true,
|
||||
"no-trailing-whitespace": true,
|
||||
"no-var-keyword": true,
|
||||
"newline-before-return": true,
|
||||
"object-literal-sort-keys": false,
|
||||
@ -63,10 +65,12 @@
|
||||
}]
|
||||
}],
|
||||
"prefer-const": true,
|
||||
"prefer-method-signature": true,
|
||||
"prefer-switch": [true, {"min-cases": 2}],
|
||||
"prefer-while": true,
|
||||
"quotemark": [true, "single", "avoid-escape"],
|
||||
"semicolon": [true, "always"],
|
||||
"space-within-parens": 0,
|
||||
"static-this": true,
|
||||
"triple-equals": true,
|
||||
"typedef": [
|
||||
@ -79,11 +83,13 @@
|
||||
true,
|
||||
"check-branch",
|
||||
"check-decl",
|
||||
"check-operator",
|
||||
"check-module",
|
||||
"check-operator",
|
||||
"check-preblock",
|
||||
"check-rest-spread",
|
||||
"check-separator",
|
||||
"check-type-operator",
|
||||
"check-preblock"
|
||||
"check-type",
|
||||
"check-type-operator"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user