This repository was archived by the owner on Jul 16, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,13 +15,17 @@ npm i --save-dev @protontech/eslint-plugin-enforce-uint8array-arraybuffer
1515
1616Add the plugin and rule to your ESLint config:
1717
18- ``` jsonc
19- {
20- " plugins" : [" @protontech/enforce-uint8array-arraybuffer" ],
21- " rules" : {
22- " @protontech/enforce-uint8array-arraybuffer/enforce-uint8array-arraybuffer" : " error"
18+ ``` js
19+ import pluginEnforceUint8ArrayArrayBuffer from ' @protontech/eslint-plugin-enforce-uint8array-arraybuffer' ;
20+
21+ export default defineConfig ({
22+ plugins: {
23+ ' @protontech/enforce-uint8array-arraybuffer' : pluginEnforceUint8ArrayArrayBuffer,
24+ },
25+ rules: {
26+ ' @protontech/enforce-uint8array-arraybuffer/enforce-uint8array-arraybuffer' : ' error' ,
2327 }
24- }
28+ })
2529```
2630
2731## Example behavior
You can’t perform that action at this time.
0 commit comments