-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules/ | ||
doc/ | ||
out/ | ||
.idea/workspace.xml |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules/** | ||
out/** |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* From https://github.com/airbnb/javascript/blob/master/linters/jshintrc */ | ||
{ | ||
/* | ||
* ENVIRONMENTS | ||
* ================= | ||
*/ | ||
|
||
// Define globals exposed by Node.js. | ||
"node": true, | ||
|
||
/* | ||
* ENFORCING OPTIONS | ||
* ================= | ||
*/ | ||
|
||
// Force all variable names to use either camelCase style or UPPER_CASE | ||
// with underscores. | ||
"camelcase": true, | ||
|
||
// Prohibit use of == and != in favor of === and !==. | ||
"eqeqeq": true, | ||
|
||
// Suppress warnings about == null comparisons. | ||
"eqnull": true, | ||
|
||
// Enforce tab width of 2 spaces. | ||
"indent": 2, | ||
|
||
// Prohibit use of a variable before it is defined. | ||
"latedef": true, | ||
|
||
// Require capitalized names for constructor functions. | ||
"newcap": true, | ||
|
||
// Enforce use of single quotation marks for strings. | ||
"quotmark": "single", | ||
|
||
// Prohibit trailing whitespace. | ||
"trailing": true, | ||
|
||
// Prohibit use of explicitly undeclared variables. | ||
"undef": true, | ||
|
||
// Warn when variables are defined but never used. | ||
"unused": true, | ||
|
||
// Enforce line length to 80 characters | ||
"maxlen": 80, | ||
|
||
// Enforce placing 'use strict' at the top function scope | ||
"strict": true | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# AppDirs.js | ||
|
||
> The wonderful thing about standards is that there are so many of them to | ||
> choose from. | ||
-- _Andrew Tanenbaum_ | ||
|
||
When it comes to storing application data, the convention on where to store | ||
your data varies from platform to platform. | ||
|
||
This package is a port of the Python [appdirs][] library, which provides a small | ||
set of methods which can be used to locate the preferred directories for user | ||
and site data for an application. | ||
|
||
It currently supports OS X and Unix operating systems (Unix support is | ||
according to the [XDG specification][]). Windows support is not yet | ||
implemented, but a pull request adding that would be greatly appreciated! | ||
|
||
## Directories | ||
|
||
The directories the AppDirs.js can help you locate are: | ||
|
||
* user data dir (`user_data_dir`) | ||
* user config dir (`user_config_dir`) | ||
* user cache dir (`user_cache_dir`) | ||
* site data dir (`site_data_dir`) | ||
* site config dir (`site_config_dir`) | ||
* user log dir (`user_log_dir`) | ||
|
||
## Usage | ||
|
||
See the JSDocs for specifics on using the API. | ||
|
||
[appdirs]: https://github.com/ActiveState/appdirs | ||
[xdg specification]: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="WEB_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" name="Node.js Dependencies for appdirsjs" level="project" /> | ||
</component> | ||
</module> | ||
|