Browse Source

add frio formatting file

pull/9845/head
Extarys 8 months ago
parent
commit
5167c2dc14
  1. 4
      .editorconfig
  2. 8
      view/theme/frio/.eslintrc.json
  3. 12
      view/theme/frio/.prettierrc

4
.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

8
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"]
}
}

12
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"
}
Loading…
Cancel
Save