Created
July 26, 2019 15:45
-
-
Save simplygeekuk/bd101ad64f561d02c83590e7b780b5c5 to your computer and use it in GitHub Desktop.
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
Show hidden characters
{ | |
"env": { | |
"node": true, | |
"es6": false | |
}, | |
"extends": "eslint:recommended", | |
"plugins": ["jsdoc"], | |
"globals": { | |
"Atomics": "readonly", | |
"SharedArrayBuffer": "readonly", | |
"System": "readonly", | |
"Server": "readonly", | |
"Properties": "readonly", | |
"vCACEntityManager": "readonly", | |
"VcPlugin": "readonly", | |
"LockingSystem": "readonly", | |
"void": "readonly" | |
}, | |
"parserOptions": { | |
"ecmaVersion": 5, | |
"ecmaFeatures": { | |
"globalReturn": true | |
} | |
}, | |
"rules": { | |
"indent": [ | |
"error", | |
4, | |
{ | |
"FunctionDeclaration": | |
{ | |
"parameters": "first" | |
}, | |
"FunctionExpression": | |
{ | |
"parameters": "first" | |
}, | |
"CallExpression": | |
{ | |
"arguments": "first" | |
} | |
} | |
], | |
"linebreak-style": [ | |
"error", | |
"windows" | |
], | |
"quotes": [ | |
"error", | |
"double" | |
], | |
"semi": [ | |
"error", | |
"always" | |
], | |
"no-trailing-spaces": [ | |
"error" | |
], | |
"no-multiple-empty-lines": [ | |
"error", | |
{ | |
"max": 1, | |
"maxEOF": 0 | |
} | |
], | |
"space-unary-ops": [ | |
2, | |
{ | |
"words": true, | |
"nonwords": true, | |
"overrides": { | |
"new": false, | |
"++": false, | |
"!": false, | |
"-": false | |
} | |
} | |
], | |
"space-infix-ops": [ | |
"error" | |
], | |
"eqeqeq": [ | |
"error" | |
], | |
"no-undef": [ | |
"error", | |
{ | |
"typeof": true | |
} | |
], | |
"eol-last": ["error", "always"], | |
"padding-line-between-statements": [ | |
"error", | |
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*"}, | |
{ "blankLine": "never", "prev": ["const", "let", "var"], "next": ["const", "let", "var"]}, | |
{ "blankLine": "always", "prev": "function", "next": "*"}, | |
{ "blankLine": "always", "prev": "*", "next": "return" } | |
], | |
"no-caller": [ | |
"error" | |
], | |
"curly":"error", | |
// JSDoc Rules | |
"jsdoc/check-alignment": 1, | |
"jsdoc/check-param-names": 1, | |
"jsdoc/check-tag-names": 1, | |
"jsdoc/check-types": 1, | |
"jsdoc/implements-on-classes": 1, | |
"jsdoc/no-undefined-types": 1, | |
"jsdoc/require-description": 1, | |
"jsdoc/require-description-complete-sentence": 1, | |
"jsdoc/require-jsdoc": 1, | |
"jsdoc/require-param": 1, | |
"jsdoc/require-param-description": 1, | |
"jsdoc/require-param-name": 1, | |
"jsdoc/require-param-type": 1, | |
"jsdoc/require-returns": 1, | |
"jsdoc/require-returns-check": 1, | |
"jsdoc/require-returns-description": 1, | |
"jsdoc/require-returns-type": 1, | |
"jsdoc/valid-types": 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment