diff --git a/package.json b/package.json index 005af93..bc9c138 100644 --- a/package.json +++ b/package.json @@ -25,16 +25,16 @@ "homepage": "https://github.com/cheminfo/eslint-config#readme", "dependencies": {}, "peerDependencies": { - "eslint": "^8.26.0", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jsdoc": "^39.4.0", - "eslint-plugin-unicorn": "^44.0.2" + "eslint": "^8.35.0", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-jsdoc": "^40.0.1", + "eslint-plugin-unicorn": "^46.0.0" }, "devDependencies": { - "eslint": "8.26.0", - "eslint-plugin-import": "2.26.0", - "eslint-plugin-jsdoc": "39.4.0", - "eslint-plugin-unicorn": "44.0.2", - "prettier": "^2.7.1" + "eslint": "8.35.0", + "eslint-plugin-import": "2.27.5", + "eslint-plugin-jsdoc": "40.0.1", + "eslint-plugin-unicorn": "46.0.0", + "prettier": "^2.8.4" } } diff --git a/unicorn.js b/unicorn.js index 5fb4d35..192f39d 100644 --- a/unicorn.js +++ b/unicorn.js @@ -23,6 +23,8 @@ module.exports = { 'unicorn/switch-case-braces': 'off', 'unicorn/prefer-ternary': 'off', 'unicorn/prefer-type-error': 'off', + // Might want to enable in a future semver-major. + 'unicorn/no-negated-condition': 'off', 'unicorn/no-useless-undefined': 'off', // Conflicts with Prettier. 'unicorn/number-literal-case': 'off',