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:
valadaptive 2023-12-02 09:22:01 -05:00
parent 1c121f1ba5
commit a665a4897d
2 changed files with 0 additions and 3 deletions

View File

@ -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',

View File

@ -1,5 +1,3 @@
esversion: 6
import { import {
Generate, Generate,
characters, characters,