mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
lint: Ignore rule for one-var in tests
This commit is contained in:
@@ -51,6 +51,7 @@ gulp.task('lint:common', () => {
|
|||||||
gulp.task('lint:tests', () => {
|
gulp.task('lint:tests', () => {
|
||||||
let options = {
|
let options = {
|
||||||
rules: {
|
rules: {
|
||||||
|
'one-var': 0,
|
||||||
'max-nested-callbacks': 0,
|
'max-nested-callbacks': 0,
|
||||||
'no-unused-expressions': 0,
|
'no-unused-expressions': 0,
|
||||||
'mocha/no-exclusive-tests': 2,
|
'mocha/no-exclusive-tests': 2,
|
||||||
|
|||||||
Reference in New Issue
Block a user