From d3a0cd3551b4bf1508e857d1123d0f287f6ec121 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 7 May 2023 14:15:31 +0300 Subject: [PATCH] Update xo config --- package.json | 14 +------------- test/test.mjs | 2 ++ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 9a6f368..50544bb 100644 --- a/package.json +++ b/package.json @@ -80,10 +80,6 @@ "error", "multi-line" ], - "max-nested-callbacks": [ - "error", - 5 - ], "operator-linebreak": [ "error", "after" @@ -100,14 +96,6 @@ "unicorn/prefer-module": "off", "unicorn/prefer-top-level-await": "off", "unicorn/prevent-abbreviations": "off" - }, - "overrides": [ - { - "files": "test/**", - "envs": [ - "mocha" - ] - } - ] + } } } diff --git a/test/test.mjs b/test/test.mjs index 68871dc..553663b 100644 --- a/test/test.mjs +++ b/test/test.mjs @@ -1,3 +1,5 @@ +/* eslint-env mocha */ + import { strict as assert } from 'node:assert'; import path from 'node:path'; import process from 'node:process';