Adds liniting into the workflow (#3082)
* initial linting of src * fix indent to 2 spaces * Removes unnecessary rules * ignore spec folder for now * Spec linting * Fix spec indent * nits * nits * no no-empty rule
This commit is contained in:
@@ -46,7 +46,7 @@ export function moduleOrObjectParser(opt) {
|
||||
}
|
||||
try {
|
||||
return JSON.parse(opt);
|
||||
} catch(e) {}
|
||||
} catch(e) { /* */ }
|
||||
return opt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user