diff --git a/eslint/.eslintrc.js b/eslint/.eslintrc.js index bfca875b2..cf60f1852 100644 --- a/eslint/.eslintrc.js +++ b/eslint/.eslintrc.js @@ -54,6 +54,9 @@ module.exports = { // Custom rule for ensuring that images and text use scenery node 'no-html-constructors': 2, + // enforce one true brace style + 'brace-style': [ 'error', 'stroustrup', { allowSingleLine: true } ], + // Custom rule for avoiding instanceof Array. 'no-instanceof-array': 2, diff --git a/eslint/format_eslintrc.js b/eslint/format_eslintrc.js index df287cb33..d1f19dac1 100644 --- a/eslint/format_eslintrc.js +++ b/eslint/format_eslintrc.js @@ -38,9 +38,6 @@ module.exports = { // https://eslint.org/docs/rules/block-spacing 'block-spacing': [ 'error', 'always' ], - // enforce one true brace style - 'brace-style': [ 'error', 'stroustrup', { allowSingleLine: true } ], - // enforce or disallow capitalization of the first letter of a comment // https://eslint.org/docs/rules/capitalized-comments 'capitalized-comments': [ 'off', 'never', {