@tommy-mitchell/eslint-config-xo 0.2.0 → 0.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.
package/helpers.js CHANGED
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+
1
3
  exports.importOrder = {
2
4
  "groups": [
3
5
  "builtin",
package/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
-
3
2
  const { importOrder, preventAbbreviations } = require("./helpers.js");
4
3
 
5
4
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tommy-mitchell/eslint-config-xo",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Personal config for XO.",
5
5
  "keywords": [
6
6
  "nodejs",
@@ -28,10 +28,21 @@
28
28
  "format": "dprint fmt && xo --fix"
29
29
  },
30
30
  "peerDependencies": {
31
- "dprint": "^0.45.0",
32
- "react": "^18.0.0",
33
- "tailwindcss": "^3.4.0",
34
- "xo": "^0.57.0"
31
+ "dprint": "0.x",
32
+ "react": "18.x",
33
+ "tailwindcss": "3.x",
34
+ "xo": "0.x"
35
+ },
36
+ "peerDependenciesMeta": {
37
+ "dprint": {
38
+ "optional": true
39
+ },
40
+ "react": {
41
+ "optional": true
42
+ },
43
+ "tailwindcss": {
44
+ "optional": true
45
+ }
35
46
  },
36
47
  "dependencies": {
37
48
  "@phaphoso/eslint-plugin-dprint": "^0.5.2",
@@ -39,11 +50,11 @@
39
50
  "eslint-plugin-jsx-a11y": "^6.8.0",
40
51
  "eslint-plugin-react": "^7.33.2",
41
52
  "eslint-plugin-react-hooks": "^4.6.0",
42
- "eslint-plugin-tailwindcss": "^3.14.2"
53
+ "eslint-plugin-tailwindcss": "^3.14.3"
43
54
  },
44
55
  "devDependencies": {
45
- "@tommy-mitchell/dprint-config": "^0.1.0",
46
- "dprint": "^0.45.0",
47
- "xo": "^0.57.0"
56
+ "@tommy-mitchell/dprint-config": "^0.1.1",
57
+ "dprint": "0.x",
58
+ "xo": "0.x"
48
59
  }
49
60
  }
package/react.js CHANGED
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
-
3
2
  const { importOrder } = require("./helpers.js");
4
3
 
5
4
  module.exports = {
package/readme.md CHANGED
@@ -11,6 +11,8 @@ npm install --save-dev @tommy-mitchell/eslint-config-xo xo @tommy-mitchell/dprin
11
11
  <details>
12
12
  <summary>Other Package Managers</summary>
13
13
 
14
+ <br />
15
+
14
16
  ```sh
15
17
  yarn add --dev @tommy-mitchell/eslint-config-xo xo @tommy-mitchell/dprint-config dprint
16
18
  ```