eslint-plugin-hex-under 0.0.4 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -19,10 +19,14 @@ const signal = 539;
19
19
 
20
20
  ## Integration
21
21
 
22
+ ```sh
23
+ npm install --save-dev eslint-plugin-hex-under
24
+ ```
25
+
22
26
  ```js
23
27
  // eslint.config.js
24
28
 
25
- const eslintPluginHexUnder = require("./eslint-plugin-hex-under");
29
+ const eslintPluginHexUnder = require("eslint-plugin-hex-under");
26
30
 
27
31
  module.exports = [
28
32
  {
@@ -31,7 +35,7 @@ module.exports = [
31
35
  "hex-under": eslintPluginHexUnder,
32
36
  },
33
37
  rules: {
34
- "hex-under/hex-under-256": ["error", { limit: 255 }],
38
+ "hex-under/hex-under": ["error", { limit: 255 }],
35
39
  },
36
40
  },
37
41
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-hex-under",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "main": "eslint-plugin-hex-under.js",
5
5
  "scripts": {
6
6
  "lint": "prettier . --check && eslint .",