From aa1a4f67d240766abe3ddfc19c0e70198a78882f Mon Sep 17 00:00:00 2001 From: David Webster Date: Tue, 2 Feb 2016 16:49:48 +0000 Subject: [PATCH] Move editorConfig and JSHint settings to project root --- rm-community/.editorConfig => .editorConfig | 9 ++++----- rm-community/.jshintrc => .jshintrc | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) rename rm-community/.editorConfig => .editorConfig (84%) rename rm-community/.jshintrc => .jshintrc (99%) diff --git a/rm-community/.editorConfig b/.editorConfig similarity index 84% rename from rm-community/.editorConfig rename to .editorConfig index bfe2df82c6..1808f3da08 100644 --- a/rm-community/.editorConfig +++ b/.editorConfig @@ -7,10 +7,9 @@ root = true # All files should use spaces. [*] indent_style = space - -# Just JS for now. -[*.js] -indent_size = 3 +end_of_line = crlf trim_trailing_whitespace = true +indent_size = 3 -#TODO: css, xml, ftl, etc. +[*.java] +indent_size = 4 diff --git a/rm-community/.jshintrc b/.jshintrc similarity index 99% rename from rm-community/.jshintrc rename to .jshintrc index b68d89a65f..67d44b1766 100644 --- a/rm-community/.jshintrc +++ b/.jshintrc @@ -41,4 +41,4 @@ "browser": true, "dojo": true -} \ No newline at end of file +}