@aarongoldenthal/eslint-config-standard 22.1.0 → 23.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/jsdoc-config.js CHANGED
@@ -35,12 +35,13 @@ module.exports = {
35
35
  'jsdoc/check-values': 'error', // Recommended
36
36
  'jsdoc/empty-tags': 'error', // Recommended
37
37
  'jsdoc/implements-on-classes': 'error', // Recommended
38
+ 'jsdoc/imports-as-dependencies': 'error',
38
39
  'jsdoc/informative-docs': 'error',
39
40
  'jsdoc/match-description': 'error',
40
41
  'jsdoc/multiline-blocks': 'error', // Recommended
41
42
  'jsdoc/no-bad-blocks': 'error',
42
43
  'jsdoc/no-blank-blocks': 'error',
43
- 'jsdoc/no-defaults': 'off',
44
+ 'jsdoc/no-defaults': ['error', { contexts: ['any'] }],
44
45
  'jsdoc/no-missing-syntax': 'off',
45
46
  'jsdoc/no-multi-asterisks': 'error', // Recommended
46
47
  'jsdoc/no-restricted-syntax': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/eslint-config-standard",
3
- "version": "22.1.0",
3
+ "version": "23.0.0",
4
4
  "description": "Standard ESLint configuration settings",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,8 +9,8 @@
9
9
  "lint": "npm run lint-js && npm run lint-md",
10
10
  "lint-js": "eslint .",
11
11
  "lint-md": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
12
- "prettier-check": "prettier --check --ignore-path=.gitignore .",
13
- "prettier-fix": "prettier --write --ignore-path=.gitignore .",
12
+ "prettier-check": "prettier --check .",
13
+ "prettier-fix": "prettier --write .",
14
14
  "test": "jest --ci"
15
15
  },
16
16
  "repository": {
@@ -34,25 +34,23 @@
34
34
  "url": "https://gitlab.com/gitlab-ci-utils/eslint-config-standard/issues"
35
35
  },
36
36
  "homepage": "https://gitlab.com/gitlab-ci-utils/eslint-config-standard",
37
- "dependencies": {
37
+ "devDependencies": {
38
+ "eslint": "8.45.0",
39
+ "jest": "29.6.1",
40
+ "jest-junit": "16.0.0",
41
+ "markdownlint-cli2": "0.8.1",
42
+ "prettier": "3.0.0"
43
+ },
44
+ "peerDependencies": {
38
45
  "@eslint-community/eslint-plugin-eslint-comments": "3.2.1",
46
+ "eslint": "^8.27.0",
39
47
  "eslint-config-prettier": "8.8.0",
40
- "eslint-plugin-jest": "27.2.1",
41
- "eslint-plugin-jsdoc": "44.2.5",
42
- "eslint-plugin-n": "16.0.0",
43
- "eslint-plugin-playwright": "0.12.0",
48
+ "eslint-plugin-jest": "27.2.3",
49
+ "eslint-plugin-jsdoc": "46.4.4",
50
+ "eslint-plugin-n": "16.0.1",
51
+ "eslint-plugin-playwright": "0.15.3",
44
52
  "eslint-plugin-promise": "6.1.1",
45
53
  "eslint-plugin-sonarjs": "0.19.0",
46
- "eslint-plugin-unicorn": "47.0.0"
47
- },
48
- "devDependencies": {
49
- "eslint": "^8.41.0",
50
- "jest": "^29.5.0",
51
- "jest-junit": "^16.0.0",
52
- "markdownlint-cli2": "^0.7.1",
53
- "prettier": "^2.8.8"
54
- },
55
- "peerDependencies": {
56
- "eslint": "^8.27.0"
54
+ "eslint-plugin-unicorn": "48.0.0"
57
55
  }
58
56
  }
@@ -9,6 +9,7 @@ module.exports = {
9
9
  files: ['**/*.pwtest.[jt]s'],
10
10
  plugins: ['playwright'],
11
11
  rules: {
12
+ 'playwright/expect-expect': 'error',
12
13
  'playwright/max-nested-describe': 'error',
13
14
  'playwright/missing-playwright-await': 'error',
14
15
  'playwright/no-conditional-in-test': 'error',
@@ -16,14 +17,20 @@ module.exports = {
16
17
  'playwright/no-eval': 'error',
17
18
  'playwright/no-focused-test': 'error',
18
19
  'playwright/no-force-option': 'error',
20
+ 'playwright/no-nested-step': 'error',
21
+ 'playwright/no-networkidle': 'error',
22
+ 'playwright/no-nth-methods': 'error',
19
23
  'playwright/no-page-pause': 'error',
20
24
  'playwright/no-skipped-test': 'error',
25
+ 'playwright/no-useless-await': 'error',
21
26
  'playwright/no-useless-not': 'error',
22
27
  'playwright/no-wait-for-timeout': 'error',
23
28
  'playwright/prefer-lowercase-title': 'error',
24
29
  'playwright/prefer-strict-equal': 'error',
25
30
  'playwright/prefer-to-be': 'error',
31
+ 'playwright/prefer-to-contain': 'error',
26
32
  'playwright/prefer-to-have-length': 'error',
33
+ 'playwright/prefer-web-first-assertions': 'error',
27
34
  'playwright/require-soft-assertions': 'off',
28
35
  'playwright/require-top-level-describe': 'error',
29
36
  'playwright/valid-expect': 'error'
package/unicorn-config.js CHANGED
@@ -56,7 +56,6 @@ module.exports = {
56
56
  'unicorn/no-unnecessary-await': 'error', // Recommended
57
57
  'unicorn/no-unreadable-array-destructuring': 'error', // Recommended
58
58
  'unicorn/no-unreadable-iife': 'error', // Recommended
59
- 'unicorn/no-unsafe-regex': 'error',
60
59
  'unicorn/no-unused-properties': 'error',
61
60
  'unicorn/no-useless-fallback-in-spread': 'error', // Recommended
62
61
  'unicorn/no-useless-length-check': 'error', // Recommended