@kazupon/eslint-plugin 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +6 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { parseComment } from "@es-joy/jsdoccomment";
|
|
|
2
2
|
|
|
3
3
|
//#region src/utils/constants.ts
|
|
4
4
|
const name = "@kazupon/eslint-plugin";
|
|
5
|
-
const version = "0.
|
|
5
|
+
const version = "0.2.0";
|
|
6
6
|
const namespace = "@kazupon";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
@@ -167,7 +167,11 @@ const plugin = {
|
|
|
167
167
|
const commentConfig = [{
|
|
168
168
|
name: "@kazupon/eslint-plugin/comment",
|
|
169
169
|
files: ["**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
|
|
170
|
-
ignores: [
|
|
170
|
+
ignores: [
|
|
171
|
+
"**/*.md",
|
|
172
|
+
"**/*.md/**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
|
|
173
|
+
"**/*.config.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"
|
|
174
|
+
],
|
|
171
175
|
plugins: { [namespace]: plugin },
|
|
172
176
|
rules: Object.entries(rules).reduce((rules$1, [ruleName, rule$1]) => {
|
|
173
177
|
const ruleId = rule$1.meta?.docs?.ruleId || (namespace ? `${namespace}/${ruleName}` : ruleName);
|