0

Unify eslint brace-style/curly rules

R=dpapad@chromium.org
TBR=amistry@chromium.org
BUG=916782

Change-Id: I65f0a0182f6fc6f41b9b578fa5e366422781cccd
Reviewed-on: https://chromium-review.googlesource.com/c/1396844
Reviewed-by: Dan Beam <dbeam@chromium.org>
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Dan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#620659}
This commit is contained in:
Dan Beam
2019-01-08 09:05:35 +00:00
committed by Commit Bot
parent 2a47d2f5e0
commit 1a0d9dcbaf
5 changed files with 2 additions and 24 deletions
.eslintrc.js
chrome
browser
resources
test
data
ui
file_manager
webui

@ -13,6 +13,8 @@ module.exports = {
},
'rules': {
// Enabled checks.
'brace-style': ['error', '1tbs'],
'curly': ['error', 'multi-line', 'consistent'],
'no-extra-semi': 'error',
'no-new-wrappers': 'error',
'no-restricted-properties': [

@ -4,8 +4,6 @@
module.exports = {
'rules': {
'brace-style': ['error', '1tbs'],
'curly': ['error', 'multi-line', 'consistent'],
'no-var': 'error',
'prefer-const': 'error',
},

@ -5,8 +5,6 @@
module.exports = {
'env': {'browser': true, 'es6': true},
'rules': {
'brace-style': ['error', '1tbs'],
'curly': ['error', 'multi-line', 'consistent'],
'no-restricted-properties': 'off',
},
};

@ -1,10 +0,0 @@
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module.exports = {
'rules': {
'brace-style': ['error', '1tbs'],
'curly': ['error', 'multi-line', 'consistent'],
}
};

@ -1,10 +0,0 @@
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module.exports = {
'rules': {
'brace-style': ['error', '1tbs'],
'curly': ['error', 'multi-line', 'consistent'],
}
};