mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
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:
@ -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,
|
||||||
|
Reference in New Issue
Block a user