update dependencies and clarify dev dependencies

This commit is contained in:
Matt Walsh
2024-08-27 09:00:38 -05:00
parent e1a58b6548
commit 019908684b
7 changed files with 1075 additions and 1326 deletions

View File

@@ -8,7 +8,6 @@ module.exports = {
},
extends: [
'airbnb-base',
'plugin:sonarjs/recommended',
],
globals: {
Atomics: 'readonly',
@@ -25,8 +24,6 @@ module.exports = {
ecmaVersion: 2023,
},
plugins: [
'unicorn',
'sonarjs',
],
rules: {
indent: [
@@ -67,24 +64,6 @@ module.exports = {
json: 'always',
},
],
// unicorn
'unicorn/numeric-separators-style': 'error',
'unicorn/prefer-query-selector': 'error',
'unicorn/catch-error-name': 'error',
'unicorn/no-negated-condition': 'error',
'unicorn/better-regex': 'error',
'unicorn/consistent-function-scoping': 'error',
'unicorn/prefer-array-flat-map': 'error',
'unicorn/prefer-array-find': 'error',
'unicorn/prefer-regexp-test': 'error',
'unicorn/consistent-destructuring': 'error',
'unicorn/prefer-date-now': 'error',
'unicorn/prefer-ternary': 'error',
'unicorn/prefer-dom-node-append': 'error',
'unicorn/explicit-length-check': 'error',
'unicorn/prefer-at': 'error',
// sonarjs
'sonarjs/cognitive-complexity': 0,
},
ignorePatterns: [
'*.min.js',