From 0f12dbd43a5510f2be628d8c409f6138f8676cc5 Mon Sep 17 00:00:00 2001 From: Jordan Young Date: Thu, 9 May 2024 09:59:03 -0400 Subject: [PATCH] fix: update rules --- .nvmrc | 1 + base.js | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..9a2a0e2 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20 diff --git a/base.js b/base.js index 0593ae4..1c17889 100644 --- a/base.js +++ b/base.js @@ -61,6 +61,7 @@ module.exports = { 'no-restricted-syntax': 0, 'global-require': 0, 'class-methods-use-this': 0, + 'default-param-last': 1, 'unicorn/filename-case': 'off', 'unicorn/no-empty-file': 'warn', 'unicorn/empty-brace-spaces': 0, @@ -77,6 +78,7 @@ module.exports = { 'unicorn/prefer-dom-node-append': 0, 'unicorn/no-array-reduce': 0, 'unicorn/no-anonymous-default-export': 0, + 'unicorn/no-negated-condition': 0, 'import/no-extraneous-dependencies': 0, 'no-plusplus': ['error', { allowForLoopAfterthoughts: true }], 'no-unused-vars': ['error', { ignoreRestSiblings: true }],