Update .bower.json, .travis.yml, and 44 more files...

This commit is contained in:
2020-12-23 10:11:32 +01:00
parent be83b43a59
commit 487a96bffd
46 changed files with 1552 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{
"name": "bootstrap-datepicker",
"main": [
"dist/css/bootstrap-datepicker3.css",
"dist/js/bootstrap-datepicker.js"
],
"license": "Apache-2.0",
"dependencies": {
"jquery": ">=1.7.1 <4.0.0"
},
"ignore": [],
"homepage": "https://github.com/eternicode/bootstrap-datepicker",
"version": "1.9.0",
"_release": "1.9.0",
"_resolution": {
"type": "version",
"tag": "v1.9.0",
"commit": "fb8776d65825068b9f914ab37d6fd847c951f488"
},
"_source": "https://github.com/eternicode/bootstrap-datepicker.git",
"_target": "^1.7",
"_originalSource": "bootstrap-datepicker"
}

View File

@@ -0,0 +1,11 @@
# EditorConfig is awesome: https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

View File

@@ -0,0 +1,13 @@
### Expected behaviour
Tell us what should happen.
### Actual behaviour
Tell us what happens instead.
### Datepicker version used
ex. 1.6.1.
### Example code
Jsfiddle example to reproduce the problem.

View File

@@ -0,0 +1,7 @@
| Q | A
| --------------- | ---
| Bug fix? | no|yes
| New feature? | no|yes
| BC breaks? | no|yes
| Related tickets | fixes #X, partially #Y, mentioned in #Z
| License | MIT

View File

@@ -0,0 +1,7 @@
language: node_js
node_js:
- "12"
before_script:
- npm install -g grunt-cli

View File

@@ -0,0 +1,22 @@
{
"requireSpaceAfterKeywords": [
"if", "else", "for", "while", "do", "switch", "return"
],
"disallowSpacesInFunctionExpression": {
"beforeOpeningRoundBrace": true,
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInsideObjectBrackets": true,
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSpaceAfterObjectKeys": true,
"requireSpaceAfterBinaryOperators": ["==", "===", "!=", "!==", ">", "<", ">=", "<="],
"requireSpaceBeforeBinaryOperators": ["==", "===", "!=", "!==", ">", "<", ">=", "<="],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforeBinaryOperators": [","],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"validateLineBreaks": "LF",
"requireKeywordsOnNewLine": ["return", "break", "delete"],
"requireLineFeedAtFileEnd": true
}

View File

@@ -0,0 +1,25 @@
{
// Extra globals.
"predef" : [
"require",
"define"
],
"jquery": true,
"browser": true,
"eqeqeq": true,
"freeze": true,
//"indent": 4, // when we move to spaces
"latedef": false,
"undef": true,
"unused": false,
"immed": true,
"trailing": true,
"maxcomplexity": 50, // Can we get this under 5?
//"maxlen": 120,
"-W014": false, // Bad line breaking before ? (in tertiary operator)
"-W065": false, // Missing radix parameter to parseInt (defaults to 10)
"-W069": false, // Literal accessor is better written in dot notation
"-W100": false // Silently deleted characters (in locales)
}

View File

@@ -0,0 +1,19 @@
{
"adjoining-classes": false,
"box-sizing": false,
"box-model": false,
"compatible-vendor-prefixes": false,
"floats": false,
"font-sizes": false,
"gradients": false,
"important": false,
"known-properties": false,
"outline-none": false,
"qualified-headings": false,
"regex-selectors": false,
"shorthand": false,
"text-indent": false,
"unique-headings": false,
"universal-selector": false,
"unqualified-attributes": false
}