@aarongoldenthal/eslint-config-standard 28.0.0 → 29.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -61,7 +61,7 @@ except `esm-config` and `vitest-config` (it does include `jest-config`). To
61
61
  configure `eslint.config.js` with this configuration:
62
62
 
63
63
  ```js
64
- const recommendedConfig = require('./recommended.js');
64
+ const recommendedConfig = require('@aarongoldenthal/eslint-config-standard/recommended');
65
65
 
66
66
  module.exports = [
67
67
  ...recommendedConfig,
@@ -80,7 +80,7 @@ There is also a `recommended-esm` configuration that's the same as the
80
80
  `jest-config`, and also the `esm-config`. It can be configured with:
81
81
 
82
82
  ```js
83
- import recommendedConfig from './recommended-esm.js';
83
+ import recommendedConfig from '@aarongoldenthal/eslint-config-standard/recommended-esm.js';
84
84
 
85
85
  export default [
86
86
  ...recommendedConfig,
package/jest-config.js CHANGED
@@ -69,6 +69,7 @@ module.exports = {
69
69
  'jest/prefer-hooks-in-order': 'error',
70
70
  'jest/prefer-hooks-on-top': 'error',
71
71
  'jest/prefer-importing-jest-globals': 'off',
72
+ 'jest/prefer-jest-mocked': 'error',
72
73
  'jest/prefer-lowercase-title': 'error',
73
74
  'jest/prefer-mock-promise-shorthand': 'error',
74
75
  'jest/prefer-snapshot-hint': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/eslint-config-standard",
3
- "version": "28.0.0",
3
+ "version": "29.0.0",
4
4
  "description": "Standard ESLint configuration settings",
5
5
  "scripts": {
6
6
  "hooks:pre-commit": "npm run lint && npm run prettier:check",
@@ -35,23 +35,23 @@
35
35
  "dependencies": {
36
36
  "@eslint-community/eslint-plugin-eslint-comments": "4.3.0",
37
37
  "eslint-config-prettier": "9.1.0",
38
- "eslint-plugin-jest": "28.5.0",
39
- "eslint-plugin-jsdoc": "48.2.7",
40
- "eslint-plugin-n": "17.7.0",
38
+ "eslint-plugin-jest": "28.6.0",
39
+ "eslint-plugin-jsdoc": "48.2.15",
40
+ "eslint-plugin-n": "17.9.0",
41
41
  "eslint-plugin-playwright": "1.6.2",
42
42
  "eslint-plugin-promise": "6.2.0",
43
43
  "eslint-plugin-sonarjs": "1.0.3",
44
- "eslint-plugin-unicorn": "53.0.0",
44
+ "eslint-plugin-unicorn": "54.0.0",
45
45
  "eslint-plugin-vitest": "0.5.4",
46
- "globals": "15.3.0"
46
+ "globals": "15.6.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@eslint/config-inspector": "0.4.10",
50
- "eslint": "9.4.0",
49
+ "@eslint/config-inspector": "0.5.0",
50
+ "eslint": "9.5.0",
51
51
  "jest": "29.7.0",
52
52
  "jest-junit": "16.0.0",
53
53
  "markdownlint-cli2": "0.13.0",
54
- "prettier": "3.3.0"
54
+ "prettier": "3.3.2"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "eslint": "^9.0.0"
@@ -43,6 +43,7 @@ module.exports = [
43
43
  'unicorn/no-lonely-if': 'error', // Recommended
44
44
  'unicorn/no-magic-array-flat-depth': 'error', // Recommended
45
45
  'unicorn/no-negated-condition': 'error', // Recommended
46
+ 'unicorn/no-negation-in-equality-check': 'error', // Recommended
46
47
  'unicorn/no-nested-ternary': 'error', // Recommended, Prettier
47
48
  'unicorn/no-new-array': 'error', // Recommended
48
49
  'unicorn/no-new-buffer': 'error', // Recommended