Skip to content

Commit

Permalink
feat: added eslint-plugin-hex-under
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus committed Feb 17, 2025
1 parent 7dafe87 commit ee51d52
Show file tree
Hide file tree
Showing 3 changed files with 656 additions and 578 deletions.
13 changes: 9 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import pluginJs from "@eslint/js";
import eslintPluginHexUnder from "eslint-plugin-hex-under";
import tseslint from "typescript-eslint";

export default [
{
files: ["**/*.ts"],
ignores: ["**/*.js"],
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
plugins: {
"hex-under": eslintPluginHexUnder,
},
rules: {
"hex-under/hex-under": "error",
},
},
];
Loading

0 comments on commit ee51d52

Please sign in to comment.