-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GHI-#8 Rewrite gulp tasks for new JSON theme format
- Loading branch information
1 parent
debe5dd
commit c9ac86a
Showing
5 changed files
with
107 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/* | ||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
title ESLint Configuration + | ||
project nord-visual-studio-code + | ||
repository https://github.com/arcticicestudio/nord-visual-studio-code + | ||
author Arctic Ice Studio + | ||
email development@arcticicestudio.com + | ||
copyright Copyright (C) 2017 + | ||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
[References] | ||
ESLint | ||
http://eslint.org/docs/rules | ||
http://eslint.org/docs/user-guide/configuring | ||
http://eslint.org/docs/user-guide/configuring#using-configuration-files | ||
http://eslint.org/docs/user-guide/configuring#specifying-environments | ||
http://eslint.org/docs/user-guide/configuring.html#specifying-globals | ||
*/ | ||
module.exports = { | ||
"env": { | ||
"node": true, | ||
"es6": true, | ||
"browser": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"ecmaFeatures": {} | ||
}, | ||
"plugins": [ | ||
"json" | ||
], | ||
"extends": [ | ||
"eslint:recommended" | ||
], | ||
"rules": { | ||
// Style Guide | ||
"array-bracket-spacing": ["error", "never"], | ||
"comma-dangle": ["error", "never"], | ||
"curly":["error", "all"], | ||
"func-call-spacing": ["error", "never"], | ||
"indent": ["error", 2], | ||
"linebreak-style": ["error", "unix"], | ||
"no-duplicate-imports": "error", | ||
"no-floating-decimal": "error", | ||
"no-tabs": "error", | ||
"no-trailing-spaces": ["error", { | ||
"skipBlankLines": false | ||
}], | ||
"no-var": "error", | ||
"no-whitespace-before-property": "error", | ||
"quotes": ["error", "double"], | ||
"semi": ["error", "always"], | ||
// Error Prevention | ||
"no-cond-assign": ["error", "always"], | ||
"no-console": "off", | ||
// Code Performance | ||
"global-require": "warn", | ||
// Documentation | ||
"require-jsdoc": ["warn", { | ||
"require": { | ||
"FunctionDeclaration": true, | ||
"MethodDefinition": false, | ||
"ClassDeclaration": true, | ||
"ArrowFunctionExpression": false | ||
} | ||
}], | ||
"valid-jsdoc": ["error", { | ||
"prefer": { | ||
"arg": "param", | ||
"argument": "param", | ||
"class": "constructor", | ||
"virtual": "abstract" | ||
}, | ||
"requireParamDescription": true, | ||
"requireReturnDescription": true | ||
}] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
save-exact=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters