calc-factorial
Version:
Calculator factorial of a number
110 lines (104 loc) • 2.38 kB
JSON
{
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"binaryLiterals": true,
"blockBindings": true,
"defaultParams": true,
"forOf": true,
"generators": true,
"impliedStrict": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"jsx": true
},
"parser": "esprima",
"sourceType": "module"
},
"env": {
"es6": true,
"node": true,
"browser": true
},
"globals": {
"describe": true,
"it": true
},
"plugins": [
],
"extends": "eslint:all",
"rules": {
"arrow-body-style": 0,
"dot-location": 0,
"global-require": 0,
"id-length": 0,
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"init-declarations": 0,
"line-comment-position": 0,
"max-len": [
"error",
{
"code": 120,
"ignoreTrailingComments": true,
"ignoreComments": true,
"ignoreUrls": true
}
],
"max-lines": 0,
"max-params": ["error", 4],
"max-statements": 0,
"multiline-ternary": 0,
"newline-after-var": 0,
"newline-before-return": 0,
"newline-per-chained-call": 0,
"no-console": 0,
"no-inline-comments": 0,
"no-magic-numbers": 0,
"no-mixed-operators": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-prototype-builtins": 0,
"no-sync": 0,
"no-ternary": 0,
"no-underscore-dangle": 0,
"no-var": 0,
"object-curly-newline": 0,
"object-curly-spacing": 2,
"object-property-newline": 0,
"one-var": 0,
"padded-blocks": 0,
"prefer-const": 0,
"prefer-reflect": 0,
"prefer-template": 0,
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
],
"quote-props": [
"error", "as-needed"
],
"require-jsdoc": 0,
"space-before-function-paren": [
"error", "never"
],
"sort-keys": 0,
"vars-on-top": 0
}
}