@frontify/eslint-config-basic 0.18.0 → 0.18.1

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.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +6 -6
package/index.js CHANGED
@@ -6,7 +6,7 @@ module.exports = {
6
6
  browser: true,
7
7
  node: true,
8
8
  },
9
- plugins: ['html', 'unicorn', 'no-only-tests', 'lodash', 'prettier'],
9
+ plugins: ['html', 'unicorn', 'no-only-tests', 'promise', 'lodash', 'prettier'],
10
10
  extends: [
11
11
  'plugin:jsonc/recommended-with-jsonc',
12
12
  'plugin:yml/standard',
@@ -196,6 +196,9 @@ module.exports = {
196
196
  'unicorn/no-useless-length-check': 'error',
197
197
  'unicorn/catch-error-name': 'error',
198
198
 
199
+ 'promise/prefer-await-to-then': 'error',
200
+ 'promise/param-names': 'error',
201
+
199
202
  'sort-imports': [
200
203
  'error',
201
204
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontify/eslint-config-basic",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "author": "Frontify Developers <developers@frontify.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,22 +20,22 @@
20
20
  "prettier": ">=3.0.0"
21
21
  },
22
22
  "dependencies": {
23
- "eslint-config-prettier": "^8.8.0",
23
+ "eslint-config-prettier": "^9.0.0",
24
24
  "eslint-plugin-html": "^7.1.0",
25
25
  "eslint-plugin-jsonc": "^2.9.0",
26
26
  "eslint-plugin-lodash": "^7.4.0",
27
- "eslint-plugin-markdown": "^3.0.0",
27
+ "eslint-plugin-markdown": "^3.0.1",
28
28
  "eslint-plugin-no-only-tests": "^3.1.0",
29
29
  "eslint-plugin-node": "^11.1.0",
30
30
  "eslint-plugin-prettier": "^5.0.0",
31
31
  "eslint-plugin-promise": "^6.1.1",
32
- "eslint-plugin-unicorn": "^48.0.0",
32
+ "eslint-plugin-unicorn": "^48.0.1",
33
33
  "eslint-plugin-yml": "^1.8.0",
34
34
  "yaml-eslint-parser": "^1.2.2"
35
35
  },
36
36
  "devDependencies": {
37
- "eslint": "^8.45.0",
38
- "prettier": "^3.0.0"
37
+ "eslint": "^8.48.0",
38
+ "prettier": "^3.0.3"
39
39
  },
40
40
  "scripts": {
41
41
  "lint": "eslint . --config=index.js"