Commons:User scripts/users namespace/reports/User:DarkMatterMan4500/mark-locked.js
Jump to navigation
Jump to search
This is the report page for User:DarkMatterMan4500/mark-locked.js. It is bot-maintained. All manual changes might be overwritten.
jshint[edit]
- ISSUE:
line 18 character 11
: Creating global 'for' variable. Should be 'for (var const ...'. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 18 character 17
: Expected 'in' and instead saw 'ns'. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 18 character 20
: Expected an identifier and instead saw 'in'. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 18 character 23
: Expected ')' to match '(' from line 18 and instead saw 'mw'. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 18 character 25
: Expected an identifier and instead saw '.'. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 18 character 26
: Missing semicolon. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 18 character 56
: Missing semicolon. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 18 character 57
: Expected an identifier and instead saw ')'. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 18 character 58
: Missing semicolon. - Evidence:for ( const ns in mw.config.get( 'wgNamespaceIds' ) ) {
- ISSUE:
line 59 character 6
: Missing semicolon. - Evidence:async function lockedUsers_isLocked(user) {
- ISSUE:
line 62 character 31
: Missing semicolon. - Evidence:const response = await api.get({
- ISSUE:
line 85 character 52
: Expected '(' and instead saw '{'. - Evidence:usersOnPage.forEach(async (val, key, _) => {
- ISSUE:
line 86 character 13
: Expected an identifier and instead saw 'const' (a reserved word). - Evidence:const userLocked = await lockedUsers_isLocked(key);
- ISSUE:
line 86 character 19
: Expected ')' to match '{' from line 85 and instead saw 'userLocked'. - Evidence:const userLocked = await lockedUsers_isLocked(key);
- ISSUE:
line 86 character 30
: Expected an identifier and instead saw '='. - Evidence:const userLocked = await lockedUsers_isLocked(key);
- ISSUE:
line 86 character 32
: Expected ')' and instead saw 'await'. - Evidence:const userLocked = await lockedUsers_isLocked(key);
- ISSUE:
line 86 character 37
: Missing semicolon. - Evidence:const userLocked = await lockedUsers_isLocked(key);
- ISSUE:
line 94 character 1
: Expected '(end)' and instead saw '}'. - Evidence:});
esprima[edit]
- ERROR: Cannot parse
line 18 column 8
: Unexpected token const