Skip to content

Commit

Permalink
fix: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
veritem committed Feb 18, 2023
1 parent 563b284 commit 39f3db2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ import noHooks, { RULE_NAME as noHooksName } from './rules/no-hooks'

const createConfig = (rules: Record<string, string>) => ({
plugins: ['vitest'],
env: {
node: true,
browser: true,
commonjs: true,
es6: true
},
rules: Object.keys(rules).reduce((acc, ruleName) => {
return {
...acc,
Expand Down

0 comments on commit 39f3db2

Please sign in to comment.