Skip to content

Commit 52a5cb0

Browse files
committed
clean up for publish
1 parent 0debd21 commit 52a5cb0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sample_config/sample_eslint.config.mjs renamed to eslint.config.publish.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
import tsParser from "@typescript-eslint/parser";
33
import tseslint from "typescript-eslint";
44
// Import the local plugin using ES Module syntax
5-
import localPlugin from "../index.js"; // Assumes index.js is the entry point
5+
import localPlugin from "./index.js"; // Assumes index.js is the entry point
66
import { dirname } from "node:path";
77
import { fileURLToPath } from "node:url";
88

99
// Sample configuration file for the rule
10-
// ! This configuration file is provided as example and path needs to be modified before use (check path in the code below).
1110
// Usage:
1211
// npx eslint --config "$CONFIG_FILE" "${TARGET_DIR}/**/*.ts"
1312

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
"main": "index.js",
2828
"files": [
2929
"dist",
30+
"!dist/tests",
31+
"eslint.config.publish.mjs",
3032
"index.js",
3133
"README.md",
3234
"LICENSE"

0 commit comments

Comments
 (0)