Enable no-unused-labels lint
I'm not sure why "esversion: 6" was at the top of the file. My best guess is that whoever initially created it was using jshint, which says "use 'esversion: 6'" if used to lint a file which contains ES6 code. Even then, the proper syntax would be a comment.
This commit is contained in:
parent
1c121f1ba5
commit
a665a4897d
|
@ -59,7 +59,6 @@ module.exports = {
|
||||||
'no-extra-semi': 'off',
|
'no-extra-semi': 'off',
|
||||||
'no-undef': 'off',
|
'no-undef': 'off',
|
||||||
'no-prototype-builtins': 'off',
|
'no-prototype-builtins': 'off',
|
||||||
'no-unused-labels': 'off',
|
|
||||||
'no-extra-boolean-cast': 'off',
|
'no-extra-boolean-cast': 'off',
|
||||||
'require-yield': 'off',
|
'require-yield': 'off',
|
||||||
'no-case-declarations': 'off',
|
'no-case-declarations': 'off',
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
esversion: 6
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Generate,
|
Generate,
|
||||||
characters,
|
characters,
|
||||||
|
|
Loading…
Reference in New Issue