GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( dee889...a2f0c3 )
by Vladimir
25s
created

src/front/js/app.js   A

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 22
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
wmc 2
c 1
b 0
f 0
nc 2
mnd 1
bc 2
fnc 1
dl 0
loc 22
rs 10
bpm 2
cpm 2
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A app.js ➔ ??? 0 1 1
1
const app = {
2
  autoScrool: true,
3
};
4
5
/**
6
 * Init sentry, for capturing frontend errors.
7
 */
8
/** global: Raven */
9
/** global: sentryDSN */
10
Raven.config(sentryDSN).install();
11
12
// Enable autoScrool by default.
13
// This code redundant, but it necessary for code quality checkers...
14
// Now app variable doesn't looks like never used 🤓🙈😁
15
app.autoScrool = true;
16
17
// Disable Google Analytics tracking function for DEV environment.
18
// With the purpose don't break other places - here just define mock.
19
/** global: gtag */
20
if (typeof gtag === 'undefined') {
21
  window.gtag = () => {};
22
}
23