@willbooster/eslint-config-js 10.1.0 → 10.2.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/.eslintrc.json +4 -3
  2. package/package.json +13 -13
package/.eslintrc.json CHANGED
@@ -13,10 +13,11 @@
13
13
  "env": { "es2022": true },
14
14
  "rules": {
15
15
  "eqeqeq": "warn",
16
- "no-console": "off", // allow `console.log()`
17
- "no-unused-vars": ["warn", { "ignoreRestSiblings": true }], // allow unused vars in object destructuring
16
+ "no-console": "off", // Allow `console.log()`.
17
+ "no-unused-vars": ["warn", { "ignoreRestSiblings": true }], // Allow unused vars in object destructuring.
18
18
  "object-shorthand": "error",
19
- "one-var": ["error", "never"], // We prefer one variable declaration per line
19
+ "one-var": ["error", "never"], // We prefer one variable declaration per line.
20
+ "spaced-comment": "error", // Enforce consistency of spacing after the start of a comment // or /*.
20
21
  "import/newline-after-import": "error",
21
22
  "import/no-duplicates": "error",
22
23
  "import/order": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/eslint-config-js",
3
- "version": "10.1.0",
3
+ "version": "10.2.1",
4
4
  "description": "A ESLint config for JavaScript projects",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",
@@ -18,22 +18,22 @@
18
18
  },
19
19
  "prettier": "@willbooster/prettier-config",
20
20
  "devDependencies": {
21
- "@types/eslint": "8.21.1",
22
- "@types/micromatch": "4.0.2",
23
- "@willbooster/prettier-config": "9.1.1",
24
- "eslint": "8.36.0",
25
- "eslint-config-prettier": "8.7.0",
26
- "eslint-plugin-import": "2.27.5",
27
- "eslint-plugin-sort-class-members": "1.16.0",
21
+ "@types/eslint": "8.44.6",
22
+ "@types/micromatch": "4.0.4",
23
+ "@willbooster/prettier-config": "9.1.2",
24
+ "eslint": "8.52.0",
25
+ "eslint-config-prettier": "9.0.0",
26
+ "eslint-plugin-import": "2.29.0",
27
+ "eslint-plugin-sort-class-members": "1.19.0",
28
28
  "eslint-plugin-sort-destructure-keys": "1.5.0",
29
- "eslint-plugin-unicorn": "46.0.0",
30
- "lint-staged": "13.2.0",
29
+ "eslint-plugin-unicorn": "48.0.1",
30
+ "lint-staged": "15.0.2",
31
31
  "micromatch": "4.0.5",
32
- "prettier": "2.8.4",
33
- "sort-package-json": "2.4.1"
32
+ "prettier": "3.0.3",
33
+ "sort-package-json": "2.6.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@willbooster/prettier-config": "9.1.1",
36
+ "@willbooster/prettier-config": "9.1.2",
37
37
  "eslint": ">=8",
38
38
  "eslint-config-prettier": ">=8",
39
39
  "eslint-plugin-import": ">=2",