Skip to content

Commit 5a863a0

Browse files
cexbrayathaoqunjiang
authored andcommitted
chore: ordered tslint rules
The usual convention is to keep the TSLint rules ordered as you can see in the recommended set for example https://github.com/palantir/tslint/blob/master/src/configs/recommended.ts (cherry picked from commit d787448)
1 parent 7c19dd6 commit 5a863a0

File tree

1 file changed

+3
-3
lines changed
  • packages/@vue/cli-plugin-typescript/generator/template

1 file changed

+3
-3
lines changed

packages/@vue/cli-plugin-typescript/generator/template/tslint.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
]
1111
},
1212
"rules": {
13-
"quotemark": [true, "single"],
1413
"indent": [true, "spaces", 2],
1514
"interface-name": false,
16-
"ordered-imports": false,
15+
"no-consecutive-blank-lines": false,
1716
"object-literal-sort-keys": false,
18-
"no-consecutive-blank-lines": false
17+
"ordered-imports": false,
18+
"quotemark": [true, "single"]
1919
}
2020
}
2121
<%_ } _%>

0 commit comments

Comments
 (0)