Set trailingComma default value to es5 (#6963)
* Set `trailingComma` default value to `es5` * Update `options` documentation * Update tests * style * fix js code style * change options order * update tests_integration snap * disable es5 for __ng_interpolation * fix angular tests * fix scss test * fix `css_trailing_comma` snap * fix css_scss snapshot
This commit is contained in:
1 parent
eac6fba2c3
commit
791996df7b
205 files changed
+2933
-2932
No files matched your search
@@ -4,6 +4,7 @@ exports[`test.component.ts 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["typescript"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
@Component({
|
||||
@@ -52,7 +53,6 @@ exports[`test.component.ts 2`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["typescript"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
=====================================input======================================
|
||||
@Component({
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
run_spec(__dirname, ["typescript"], { trailingComma: "none" });
|
||||
run_spec(__dirname, ["typescript"]);
|
||||
run_spec(__dirname, ["typescript"], { trailingComma: "es5" });
|
||||
Reference in new issue
Block a user