Skip to content

Commit dabfd87

Browse files
committed
default export
1 parent 1751a58 commit dabfd87

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

packages/stencil-library/src/eslint-plugin/index.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { noLabelSlotInCheckbox } from "./rules/no-label-slot-in-checkbox";
2+
3+
export const rules = {
4+
"no-label-slot-in-checkbox": noLabelSlotInCheckbox
5+
};
6+
7+
const plugin = {
8+
rules,
9+
configs: {
10+
recommended: {
11+
plugins: ["@dnn-community/eslint-plugin"],
12+
rules: {
13+
"@dnn-community/no-label-slot-in-checkbox": "error"
14+
}
15+
}
16+
}
17+
}
18+
19+
export default plugin;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2022",
4-
"module": "CommonJS",
3+
"target": "es2019",
4+
"module": "commonjs",
55
"moduleResolution": "Node",
6-
"outDir": "./dist",
6+
"outDir": "../../dist/eslint-plugin",
77
"strict": true,
88
"esModuleInterop": true,
99
"declaration": true,
@@ -12,5 +12,5 @@
1212
"forceConsistentCasingInFileNames": true,
1313
"sourceMap": true
1414
},
15-
"include": ["src", "jest.config.js"]
16-
}
15+
"include": ["src/index.ts"]
16+
}

0 commit comments

Comments
 (0)