Skip to content

Commit

Permalink
make the foo-bar consumable
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-zhang-at-salesforce committed May 10, 2024
1 parent dce714a commit acda291
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@
"engines": {
"node": ">=18"
},
"type": "module",
"type": "commonjs",
"main": "dist/src/index.js",
"directories": {
"lib": "src",
"rules": "src/rules",
"test": "test"
},
"files": [
"/src",
"/dist",
"!**/test/"
],
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import base from './configs/base.js';
import recommended from './configs/recommended.js';
import enforceFooBar from './rules/enforce-foo-bar.js';
export default {
export = {
rules: {
'enforce-foo-bar': enforceFooBar
},
config: {
configs: {
base,
recommended
}
Expand Down

0 comments on commit acda291

Please sign in to comment.