forked from concord-consortium/lab-interactives-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlab.sublime-project
30 lines (30 loc) · 875 Bytes
/
lab.sublime-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"folders":
[
{
"path": ".",
"folder_exclude_patterns": [".sass-cache", ".bundle", "bin", "node_modules", "lab.*", "public", "vendor", "java"],
"file_exclude_patterns": ["Gemfile.lock", "*.sublime-workspace"]
}
],
"settings":
{
"trim_trailing_white_space_on_save": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
// Wrap at 100 when hard-wrapping using, for example, the Sublime Wrap Plus plugin.
"wrap_width": 100,
"rulers": [100]
},
"build_systems":
[
{
"name": "JSHint",
// without shelling out I could not get jshint to respect the --config setting
"shell": true,
"cmd": ["$project_path/node_modules/.bin/jshint $file --show-non-errors --verbose"],
"file_regex": "(.+js).+((?<=line\\s)\\d+).+((?<=col\\s)\\d+),\\s(.+$)",
"selector": "source.js"
}
]
}