diff options
| author | Joshua May <git@hotdog.horse> | 2024-02-11 03:37:10 +0100 |
|---|---|---|
| committer | Joshua May <git@hotdog.horse> | 2024-02-11 03:37:10 +0100 |
| commit | d565b813f25df73b77f0aaf00866fa872f60dbcb (patch) | |
| tree | e0db84b0cad551c34e28a26b044e8e89b980799f /src | |
| parent | 4bcbde71c847a7a8c73d8ff2399a84f1d61fe766 (diff) | |
| download | slskd-d565b813f25df73b77f0aaf00866fa872f60dbcb.tar.gz | |
Update config for lints
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/.eslintrc.js | 2 | ||||
| -rw-r--r-- | src/web/package-lock.json | 1 | ||||
| -rw-r--r-- | src/web/package.json | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/web/.eslintrc.js b/src/web/.eslintrc.js index 044e87a4..0c36e3ed 100644 --- a/src/web/.eslintrc.js +++ b/src/web/.eslintrc.js @@ -1,6 +1,8 @@ const overrides = { + eqeqeq: ['error', 'always', { null: 'ignore' }], // noisy 'id-length': 'off', // noisy 'no-console': 'off', // noisy + 'no-eq-null': 'off', // noisy 'react/forbid-component-props': 'off', // noisy 'react/prop-types': 'off', // noisy 'unicorn/no-array-reduce': 'off', // noisy diff --git a/src/web/package-lock.json b/src/web/package-lock.json index 0da0a2dc..287ca59f 100644 --- a/src/web/package-lock.json +++ b/src/web/package-lock.json @@ -14,6 +14,7 @@ "@microsoft/signalr": "^7.0.7", "@uiw/react-codemirror": "^4.2.4", "axios": "^0.25.0", + "lodash": "^4.17.21", "lz-string": "^1.4.4", "react": "^16.8.6", "react-dom": "^16.8.6", diff --git a/src/web/package.json b/src/web/package.json index 49990771..87b6eba1 100644 --- a/src/web/package.json +++ b/src/web/package.json @@ -19,6 +19,7 @@ "@microsoft/signalr": "^7.0.7", "@uiw/react-codemirror": "^4.2.4", "axios": "^0.25.0", + "lodash": "^4.17.21", "lz-string": "^1.4.4", "react": "^16.8.6", "react-dom": "^16.8.6", |
