Skip to content

Commit 1779b8a

Browse files
committed
published beta.1 lint package
1 parent 5f0e73a commit 1779b8a

File tree

2 files changed

+32
-9
lines changed

2 files changed

+32
-9
lines changed
Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
22
"compilerOptions": {
3-
"lib": ["dom", "dom.iterable", "esnext"],
3+
"lib": [
4+
"dom",
5+
"dom.iterable",
6+
"esnext"
7+
],
48
"allowJs": true,
9+
"forceConsistentCasingInFileNames": true,
510
"skipLibCheck": true,
611
"strict": true,
712
"noEmit": true,
@@ -12,11 +17,23 @@
1217
"resolveJsonModule": true,
1318
"isolatedModules": true,
1419
"jsx": "preserve",
15-
"plugins": [{ "name": "next" }],
1620
"target": "ES2017",
1721
"baseUrl": ".",
18-
"paths": { "@zero-ui/attributes": ["./.zero-ui/attributes.js"] }
22+
"paths": {
23+
"@zero-ui/attributes": [
24+
"./.zero-ui/attributes.js"
25+
]
26+
}
1927
},
20-
"include": ["**/*.ts", "**/*.tsx", ".next/**/*.d.ts", ".next/types/**/*.ts", ".zero-ui/**/*.d.ts", "next-env.d.ts"],
21-
"exclude": ["node_modules"]
22-
}
28+
"include": [
29+
"**/*.ts",
30+
"**/*.tsx",
31+
".next/**/*.d.ts",
32+
".next/types/**/*.ts",
33+
".zero-ui/**/*.d.ts",
34+
"next-env.d.ts"
35+
],
36+
"exclude": [
37+
"node_modules"
38+
]
39+
}

packages/eslint-plugin-react-zero-ui/package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
{
22
"name": "eslint-plugin-react-zero-ui",
3-
"version": "0.1.0",
3+
"version": "0.0.1-beta.1",
44
"description": "ESLint rules for React Zero-UI",
55
"type": "module",
66
"main": "dist/index.js",
7+
"module": "dist/index.js",
8+
"types": "dist/index.d.ts",
9+
"sideEffects": false,
710
"exports": {
8-
".": "./dist/index.js"
11+
".": {
12+
"types": "./dist/index.d.ts",
13+
"import": "./dist/index.js"
14+
}
915
},
1016
"files": [
11-
"dist"
17+
"dist/**/*"
1218
],
1319
"scripts": {
1420
"build": "tsc -p tsconfig.json",

0 commit comments

Comments
 (0)