mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
update eslint to omit blank line between members
This commit is contained in:
1 parent
e91774fe3b
commit
2a542302bc
5 files changed
+21
-5
No files matched your search
@@ -53,7 +53,9 @@ export default class DAG {
|
||||
if (node.layer !== undefined) {
|
||||
return node.layer
|
||||
}
|
||||
const previousLayer = node.requirements.map((rId: string) => this.setLayer(rId))
|
||||
const previousLayer = node.requirements.map((rId: string) =>
|
||||
this.setLayer(rId)
|
||||
)
|
||||
node.layer = Math.max(...previousLayer, 0) + 1
|
||||
if (this.layers.length < node.layer) {
|
||||
this.layers.push(1)
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "./dist"
|
||||
"outDir": "./dist",
|
||||
"allowJs": false
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
|
||||
Reference in new issue
Block a user