Completed
Pull Request — master (#290)
by korelstar
30:58
created

src/mixins/AppGlobal.js (4 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
export default {
0 ignored issues
show
'export' is only available in ES6 (use 'esversion: 6').

Generally using ECMAScript 6 specific syntax is fine if you are sure that it is already supported by all engines which are supposed to run this code.

Further Reading:

Loading history...
2
	methods: {
3
		t,
0 ignored issues
show
Backwards Compatibility introduced by
'object short notation' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
Loading history...
4
		tn: t.bind(this, 'notes'),
5
		n,
0 ignored issues
show
Backwards Compatibility introduced by
'object short notation' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
Loading history...
6
	},
7
}
0 ignored issues
show
There should be a semicolon.

Requirement of semicolons purely is a coding style issue since JavaScript has specific rules about semicolons which are followed by all browsers.

Further Readings:

Loading history...
8