Skip to content

Commit

Permalink
Updates dot files.
Browse files Browse the repository at this point in the history
  • Loading branch information
qubyte committed Jul 3, 2016
1 parent c536fef commit c57dfba
Show file tree
Hide file tree
Showing 10 changed files with 123 additions and 142 deletions.
2 changes: 0 additions & 2 deletions .coveralls.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
; EditorConfig file: http://EditorConfig.org
; Install the "EditorConfig" plugin into Sublime Text to use

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
74 changes: 74 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"env": {
"node": true,
"es6": true
},
"rules": {
"no-eval": 2,
"no-console": 2,
"strict": [2, "global"],
"guard-for-in": 2,
"wrap-iife": 2,
"new-cap": 2,
"no-caller": 2,
"curly": 2,
"eqeqeq": 2,
"no-bitwise": 2,
"no-empty": 2,
"no-use-before-define": [2, { "functions": false, "classes": true }],
"no-new": 2,
"max-depth": [2, 3],
"no-undef": 2,
"no-unused-vars": 2,
"max-params": [2, 4],
"max-statements": [2, 20],
"complexity": [2, 10],
"quotes": [2, "single"],
"no-mixed-requires": 0,
"consistent-return": 0,
"no-underscore-dangle": 0,
"no-shadow": 0,
"semi": 2,

"arrow-parens": 0,
"constructor-super": 2,
"no-class-assign": 2,
"no-const-assign": 2,
"no-dupe-class-members": 2,
"no-this-before-super": 2,
"no-var": 2,
"object-shorthand": 2,
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-spread": 0,
"prefer-reflect": 0,
"prefer-template": 0,
"require-yield": 0,

"array-bracket-spacing": [2, "never"],
"brace-style": 2,
"camelcase": 2,
"comma-spacing": [2, { "before": false, "after": true }],
"computed-property-spacing": [2, "never"],
"consistent-this": 0,
"eol-last": 2,
"func-names": 2,
"indent": [2, 4, { "SwitchCase": 1 }],
"key-spacing": [2],
"no-mixed-spaces-and-tabs": 2,
"object-curly-spacing": [2, "always"],
"one-var": [2, "never"],
"operator-assignment": [2, "always"],
"semi-spacing": [2, { "before": false, "after": true }],
"keyword-spacing": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, { "anonymous": "always", "named": "never" }],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always"],

"arrow-spacing": [2, { "before": true, "after": true }],
"generator-star-spacing": [2, { "before": false, "after": true }]
}
}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ logs
results

npm-debug.log
node_modules
coverage
**/node_modules
build
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
language: node_js
node_js:
- "0.10"
- "0.11"
after_success: npm run coveralls
- "4"
- "6"
5 changes: 5 additions & 0 deletions examples/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"no-console": 0
}
}
5 changes: 5 additions & 0 deletions lib/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"parserOptions": {
"sourceType": "module"
}
}
152 changes: 17 additions & 135 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,27 @@
"description": "A small unique job scheduler.",
"main": "index.js",
"scripts": {
"test": "jshint *.js ./lib/*.js ./test/*.js && jscs *.js ./lib/*.js ./test/*.js && mocha test",
"coveralls": "istanbul cover _mocha --report lcovonly && cat ./coverage/lcov.info | coveralls --verbose"
},
"repository": {
"type": "git",
"url": "https://github.com/qubyte/rubidium"
},
"dependencies": {
"json-stable-stringify": "1.0.0"
"build": "rimraf build && mkdirp build && node build.js",
"prepublish": "npm run build",
"test": "npm run build && mocha"
},
"repository": "github:qubyte/rubidium",
"devDependencies": {
"coveralls": "2.11.2",
"istanbul": "0.3.5",
"jscs": "1.10.0",
"jshint": "2.6.0",
"eslint": "2.11.1",
"git-sha1": "0.1.2",
"json-stable-stringify": "1.0.0",
"mkdirp": "0.5.1",
"mocha": "2.1.0",
"mocha-lcov-reporter": "0.0.1",
"sinon": "1.12.2"
"rimraf": "2.5.2",
"rollup": "0.29.0",
"rollup-plugin-commonjs": "3.0.0",
"rollup-plugin-node-resolve": "1.7.0",
"sinon": "1.12.2",
"vertebrate-event-emitter": "3.1.0"
},
"files": [
"index.js",
"lib"
"build/rubidium.umd.js",
"build/rubidium.es6.js"
],
"keywords": [
"cron",
Expand All @@ -34,122 +33,5 @@
"atd"
],
"author": "Mark Stanley Everitt",
"license": "MIT",
"jshintConfig": {
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"forin": false,
"immed": true,
"indent": 4,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"plusplus": false,
"quotmark": "single",
"undef": true,
"unused": true,
"strict": true,
"trailing": true,
"maxparams": 4,
"maxdepth": 3,
"maxstatements": 15,
"maxcomplexity": 11,
"maxlen": 100,
"smarttabs": true,
"node": true,
"mocha": true,
"browser": true,
"esnext": true
},
"jscsConfig": {
"requireCurlyBraces": [
"if",
"else",
"for",
"while",
"do",
"try",
"catch",
"case",
"default"
],
"requireSpaceAfterKeywords": [
"if",
"else",
"for",
"while",
"do",
"switch",
"return",
"try",
"catch"
],
"requireParenthesesAroundIIFE": true,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"requireSpacesInNamedFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInNamedFunctionExpression": {
"beforeOpeningRoundBrace": true
},
"disallowMultipleVarDecl": true,
"disallowSpacesInsideArrayBrackets": true,
"requireSpacesInsideObjectBrackets": "all",
"disallowQuotedKeysInObjects": true,
"disallowSpaceAfterObjectKeys": true,
"requireCommaBeforeLineBreak": true,
"requireSpaceBeforeBinaryOperators": true,
"disallowSpaceBeforeBinaryOperators": [
","
],
"disallowSpaceBeforePostfixUnaryOperators": [
"++",
"--"
],
"requireSpacesInConditionalExpression": true,
"disallowSpaceAfterPrefixUnaryOperators": [
"++",
"--",
"+",
"-",
"~",
"!"
],
"requireCamelCaseOrUpperCaseIdentifiers": true,
"disallowKeywords": [
"with"
],
"disallowMultipleLineStrings": true,
"validateLineBreaks": "LF",
"validateQuoteMarks": {
"mark": "'",
"escape": true
},
"validateIndentation": "\t",
"disallowMixedSpacesAndTabs": "smart",
"disallowTrailingWhitespace": true,
"disallowKeywordsOnNewLine": [
"else",
"catch"
],
"requireLineFeedAtFileEnd": true,
"maximumLineLength": 100,
"requireCapitalizedConstructors": true,
"requireDotNotation": true,
"validateJSDoc": {
"checkParamNames": true,
"checkRedundantParams": true,
"requireParamTypes": true
},
"excludeFiles": [
"node_modules/**"
]
}
"license": "MIT"
}
5 changes: 5 additions & 0 deletions test/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"env": {
"mocha": true
}
}

0 comments on commit c57dfba

Please sign in to comment.