diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2024-01-27 04:01:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 09:01:37 +0000 |
commit | 7a142bbafd6aa6ca5fe296ba3012158d8f2e75dc (patch) | |
tree | 698be195228b5b739a2acf77e34906b56fb80eca /test/profile-conditions-util.test.js | |
parent | a3224f688f44c9c913f32add1223e922ce88e65a (diff) |
Remove unneeded eslint disables (#554)
* Install eslint-plugin-eslint-comments
* Update rules, fix issues
Diffstat (limited to 'test/profile-conditions-util.test.js')
-rw-r--r-- | test/profile-conditions-util.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/profile-conditions-util.test.js b/test/profile-conditions-util.test.js index 417ca409..7af5f223 100644 --- a/test/profile-conditions-util.test.js +++ b/test/profile-conditions-util.test.js @@ -16,8 +16,6 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ -/* eslint-disable no-multi-spaces */ - import {describe, expect, test} from 'vitest'; import {ProfileConditionsUtil} from '../ext/js/background/profile-conditions-util.js'; @@ -62,6 +60,7 @@ function testNormalizeContext() { /** */ function testSchemas() { describe('Schemas', () => { + /* eslint-disable no-multi-spaces */ /** @type {{conditionGroups: import('settings').ProfileConditionGroup[], expectedSchema?: import('ext/json-schema').Schema, inputs?: {expected: boolean, context: import('settings').OptionsContext}[]}[]} */ const data = [ // Empty @@ -1099,6 +1098,7 @@ function testSchemas() { ] } ]; + /* eslint-enable no-multi-spaces */ test.each(data)('schemas-test-%#', ({conditionGroups, expectedSchema, inputs}) => { const profileConditionsUtil = new ProfileConditionsUtil(); |