Skip to content

Commit 7b49906

Browse files
authored
chore: adjusted documentation (#9)
1 parent 11cdb2f commit 7b49906

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,26 @@ module.exports = [
6060
},
6161
];
6262
```
63+
64+
#### Experimental BigInteger Support
65+
66+
There is a similar rule to prove for BigInteger hexadecimal numbers. You can enable it similar to the `hex-under` rule. The default limit is 255.
67+
At the moment these found issues are not automatically fixable.
68+
69+
```js
70+
// eslint.config.js
71+
72+
const eslintPluginHexUnder = require("eslint-plugin-hex-under");
73+
74+
module.exports = [
75+
{
76+
files: ["*.js"],
77+
plugins: {
78+
"hex-under": eslintPluginHexUnder,
79+
},
80+
rules: {
81+
"hex-under/hex-under-bigint": "warn",
82+
},
83+
},
84+
];
85+
```

0 commit comments

Comments
 (0)