Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Commit

Permalink
0.0.6 - fix rule.create is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
christianvuerings committed Oct 16, 2023
1 parent c1442f4 commit e35a873
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src/tests
dist/tests
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.0.6

- Use `module.exports` to fix `rule.create is not a function`

# 0.0.5

- Convert to CommonJS for compatibility
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-no-re-export",
"version": "0.0.5",
"version": "0.0.6",
"description": "ESLint plugin to disallow re-exporting in TypeScript/JavaScript",
"main": "dist/index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import noReExport from "./rules/no-re-export";

export default {
module.exports = {
rules: {
"no-re-export": noReExport,
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "ES2021",
"target": "ES2015",
"typeRoots": ["node_modules/@types"]
},
"include": ["src"],
Expand Down

0 comments on commit e35a873

Please sign in to comment.