mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:31:56 +08:00
34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
{
|
|
"folders":
|
|
[
|
|
{
|
|
"path": "app",
|
|
"folder_exclude_patterns": ["external", "external_development", "external_production", "images", "imported", "fonts", "defer"],
|
|
"file_exclude_patterns": ["i18n.js"]
|
|
},
|
|
{
|
|
"path": "config",
|
|
"file_exclude_patterns": ["*.ar.yml", "*.bg.yml", "*.bs_BA.yml", "*.ca.yml", "*.cs.yml", "*.da.yml", "*.de.yml", "*.el.yml", "*.es.yml", "*.et.yml", "*.fa_IR.yml", "*.fi.yml", "*.fr.yml", "*.gl.yml", "*.he.yml", "*.hu.yml", "*.id.yml", "*.it.yml", "*.ja.yml", "*.ko.yml", "*.lt.yml", "*.lv.yml", "*.nb_NO.yml", "*.nl.yml", "*.pl_PL.yml", "*.pt.yml", "*.pt_BR.yml", "*.ro.yml", "*.ru.yml", "*.sk.yml", "*.sl.yml", "*.sq.yml", "*.sr.yml", "*.sv.yml", "*.sw.yml", "*.te.yml", "*.th.yml", "*.tr_TR.yml", "*.uk.yml", "*.ur.yml", "*.vi.yml", "*.zh_CN.yml", "*.zh_TW.yml"]
|
|
},
|
|
{
|
|
"path": "db",
|
|
"file_exclude_patterns": ["*.sqlite3"]
|
|
},
|
|
{ "path": "lib" },
|
|
{ "path": "plugins" },
|
|
{ "path": "script" },
|
|
{ "path": "spec" },
|
|
{ "path": "vendor" },
|
|
{ "path": "test" }
|
|
],
|
|
"settings":
|
|
{
|
|
// indentation
|
|
"tab_size": 2,
|
|
"translate_tabs_to_spaces": true,
|
|
"trim_trailing_white_space_on_save": true,
|
|
// ensure line endings is linux style (even when on Windows)
|
|
"default_line_ending": "LF"
|
|
}
|
|
}
|