eslint-plugin-hex-under 0.0.3 → 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.
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,11 +1,15 @@
1
1
  {
2
2
  "name": "eslint-plugin-hex-under",
3
- "version": "0.0.3",
3
+ "version": "0.1.0",
4
4
  "main": "eslint-plugin-hex-under.js",
5
5
  "scripts": {
6
6
  "lint": "prettier . --check && eslint .",
7
7
  "test": "node hex-under-256.test.js"
8
8
  },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/0xflotus/eslint-plugin-hex-under.git"
12
+ },
9
13
  "keywords": [],
10
14
  "author": "0xflotus",
11
15
  "license": "MIT",
package/eslint.config.js DELETED
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- const eslintPluginHexUnder = require("./eslint-plugin-hex-under");
4
-
5
- module.exports = [
6
- {
7
- files: ["*.js"],
8
- plugins: {
9
- "hex-under": eslintPluginHexUnder,
10
- },
11
- rules: {
12
- "hex-under/hex-under-256": ["error", { limit: 255 }],
13
- },
14
- },
15
- ];