Merge pull request #8 from matrix-org/bwindels/indentation

bring indentation in line with other front-end projects
This commit is contained in:
David Baker 2018-08-14 14:02:41 +01:00 committed by GitHub
commit 956688237a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 583 additions and 560 deletions

23
.editorconfig Normal file
View file

@ -0,0 +1,23 @@
# Copyright 2017 Aviral Dasgupta
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
root = true
[*]
charset=utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

View file

@ -29,7 +29,7 @@ async function runTests() {
console.log("running tests ..."); console.log("running tests ...");
const options = {}; const options = {};
if (debug) { if (debug) {
// options.slowMo = 10; options.slowMo = 20;
options.headless = false; options.headless = false;
} }
if (process.env.CHROME_PATH) { if (process.env.CHROME_PATH) {