diff --git a/rm-community/.editorConfig b/rm-community/.editorConfig index bfe2df82c6..49a1ee5313 100644 --- a/rm-community/.editorConfig +++ b/rm-community/.editorConfig @@ -1,16 +1,16 @@ -# EditorConfig file: http://editorconfig.org/ -# Syntax at: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties - -# This is the Top level for the RM project -root = true - -# All files should use spaces. -[*] -indent_style = space - -# Just JS for now. -[*.js] -indent_size = 3 -trim_trailing_whitespace = true - -#TODO: css, xml, ftl, etc. +# EditorConfig file: http://editorconfig.org/ +# Syntax at: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties + +# This is the Top level for the RM project +root = true + +# All files should use spaces. +[*] +indent_style = space + +# Just JS for now. +[*.js] +indent_size = 3 +trim_trailing_whitespace = true + +#TODO: css, xml, ftl, etc. diff --git a/rm-community/.jshintrc b/rm-community/.jshintrc index b68d89a65f..16cbd2d0b0 100644 --- a/rm-community/.jshintrc +++ b/rm-community/.jshintrc @@ -1,44 +1,44 @@ -{ - "bitwise": true, - "curly": true, - "eqeqeq": true, - "es3": true, - "forin": true, - "freeze": true, - "funcscope": true, - "immed": true, - "indent": 3, - "iterator": true, - "latedef": true, - "maxcomplexity": 10, - "maxdepth": 50, - "maxerr": 50, - "maxlen": 250, - "maxparams": 50, - "maxstatements": 30, - "newcap": true, - "noarg": true, - "nonbsp": true, - "nonew": true, - "notypeof": true, - "shadow": "outer", - "undef": true, - "unused": true, - - "globals": { - "module": false, - "model": true, - "Alfresco": true, - "YAHOO": false, - "appContext": false, - "PDFJS": false, - "AlfrescoUtil": true, - "msg": false - }, - - "expr": true, - "strict": false, - - "browser": true, - "dojo": true +{ + "bitwise": true, + "curly": true, + "eqeqeq": true, + "es3": true, + "forin": true, + "freeze": true, + "funcscope": true, + "immed": true, + "indent": 3, + "iterator": true, + "latedef": true, + "maxcomplexity": 10, + "maxdepth": 50, + "maxerr": 50, + "maxlen": 250, + "maxparams": 50, + "maxstatements": 30, + "newcap": true, + "noarg": true, + "nonbsp": true, + "nonew": true, + "notypeof": true, + "shadow": "outer", + "undef": true, + "unused": true, + + "globals": { + "module": false, + "model": true, + "Alfresco": true, + "YAHOO": false, + "appContext": false, + "PDFJS": false, + "AlfrescoUtil": true, + "msg": false + }, + + "expr": true, + "strict": false, + + "browser": true, + "dojo": true } \ No newline at end of file