mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
lint: Use Prettier for JavaScript files.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
b65d2e063d
commit
ed183fb95f
@@ -1,3 +1,19 @@
|
||||
module.exports = {
|
||||
bracketSpacing: false,
|
||||
tabWidth: 4,
|
||||
trailingComma: "all",
|
||||
overrides: [
|
||||
{
|
||||
files: ["frontend_tests/casper_tests/*.js", "frontend_tests/casper_lib/*.js"],
|
||||
options: {
|
||||
trailingComma: "es5",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["**.yml", "**.yaml"],
|
||||
options: {
|
||||
tabWidth: 2,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
Reference in New Issue
Block a user