Skip to content

Commit ac31a30

Browse files
committed
[polish] eslint ignore rules
1 parent 00f8c74 commit ac31a30

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

eslint.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ const config: ConfigArray = tsEslint.config(
2727
},
2828
{
2929
// config with just ignores is the replacement for `.eslintignore`
30-
ignores: ['**/node_modules/**', '**/public/**', '**/.next/**']
30+
ignores: [
31+
'**/node_modules/**',
32+
'dist/**',
33+
'.parcel-cache/**',
34+
'docs/**'
35+
]
3136
},
3237

3338
// extends ...

table.css renamed to guide/table.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
/* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table#displaying_large_tables_in_small_spaces */
2+
@media (max-width: 768px) {
3+
table {
4+
white-space: nowrap;
5+
}
6+
}
7+
28
table {
39
width: 100%;
410
margin: 0 auto;
511
display: block;
612
overflow-x: auto;
713
border-spacing: 0;
8-
@media (max-width: 768px) {
9-
white-space: nowrap;
10-
}
1114
}
1215

1316
th,

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"outDir": "dist/",
44
"target": "ES2017",
55
"checkJs": true,
6-
"allowJs": true,
76
"declaration": true,
87
"module": "ES2022",
98
"moduleResolution": "Node",
@@ -14,13 +13,13 @@
1413
"skipLibCheck": true,
1514
"lib": ["ES2022", "DOM"]
1615
},
17-
"include": ["source/**/*", "eslint.config.ts"],
16+
"include": ["source/**/*", "*.ts"],
1817
"typedocOptions": {
1918
"name": "WebCell",
2019
"excludeExternals": true,
2120
"excludePrivate": true,
2221
"readme": "./ReadMe.md",
2322
"plugin": ["typedoc-plugin-mdn-links"],
24-
"customCss": "./table.css"
23+
"customCss": "./guide/table.css"
2524
}
2625
}

0 commit comments

Comments
 (0)