diff --git a/.editorconfig b/.editorconfig index 7692ac78b5..af67d04a3b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,3 +8,7 @@ charset = utf-8 end_of_line = lf trim_trailing_whitespaces = true indent_style = tab +quote_type = single + +[*.js] +quote_type = double \ No newline at end of file diff --git a/view/theme/frio/.eslintrc.json b/view/theme/frio/.eslintrc.json new file mode 100644 index 0000000000..54b698fca1 --- /dev/null +++ b/view/theme/frio/.eslintrc.json @@ -0,0 +1,8 @@ +{ + "rules": { + "no-unused-vars": ["warn", { "args": "none", "argsIgnorePattern": "req|res|next|val" }], + "quotes": ["error", "double"], + "indent": ["error", "tab"], + "prettier/prettier": ["error"] + } +} diff --git a/view/theme/frio/.prettierrc b/view/theme/frio/.prettierrc new file mode 100644 index 0000000000..123ef3dc17 --- /dev/null +++ b/view/theme/frio/.prettierrc @@ -0,0 +1,12 @@ +{ + "printWidth": 120, + "tabWidth": 4, + "useTabs": true, + "semi": true, + "singleQuote": false, + "quoteProps": "as-needed", + "trailingComma": "all", + "bracketSpacing": true, + "arrowParens": "always", + "endOfLine": "lf" +}