Skip to content

Commit d6d01d5

Browse files
committed
new-website-update-1.0.0
1 parent 403b9ce commit d6d01d5

File tree

12,268 files changed

+1228078
-1055
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,268 files changed

+1228078
-1055
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
presets: [
3+
[
4+
'@babel/env',
5+
{
6+
loose: true,
7+
modules: false,
8+
exclude: ['transform-typeof-symbol']
9+
}
10+
]
11+
],
12+
plugins: [
13+
'@babel/plugin-proposal-object-rest-spread'
14+
],
15+
env: {
16+
test: {
17+
plugins: [ 'istanbul' ]
18+
}
19+
}
20+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "bootstrap",
3+
"homepage": "https://github.com/twbs/bootstrap",
4+
"version": "4.4.1",
5+
"_release": "4.4.1",
6+
"_resolution": {
7+
"type": "version",
8+
"tag": "v4.4.1",
9+
"commit": "dca1ab7d877bc4b664b43604657a2b5fbe2b4ecb"
10+
},
11+
"_source": "https://github.com/twbs/bootstrap.git",
12+
"_target": "^4.4.1",
13+
"_originalSource": "bootstrap",
14+
"_direct": true
15+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# https://github.com/browserslist/browserslist#readme
2+
3+
>= 1%
4+
last 1 major version
5+
not dead
6+
Chrome >= 45
7+
Firefox >= 38
8+
Edge >= 12
9+
Explorer >= 10
10+
iOS >= 9
11+
Safari >= 9
12+
Android >= 4.4
13+
Opera >= 30
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 2
9+
indent_style = space
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
trim_trailing_whitespace = false
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**/*.min.js
2+
**/dist/
3+
**/vendor/
4+
/_gh_pages/
5+
/js/coverage/
6+
/package.js
Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
{
2+
"root": true,
3+
"parser": "babel-eslint",
4+
"env": {
5+
"browser": true,
6+
"es6": true
7+
},
8+
"extends": ["eslint:recommended"],
9+
"rules": {
10+
// Possible Errors
11+
"no-await-in-loop": "error",
12+
"no-extra-parens": "error",
13+
"no-prototype-builtins": "error",
14+
"no-template-curly-in-string": "error",
15+
"valid-jsdoc": "error",
16+
17+
// Best Practices
18+
"accessor-pairs": "error",
19+
"array-callback-return": "error",
20+
"block-scoped-var": "error",
21+
"class-methods-use-this": "off",
22+
"complexity": "error",
23+
"consistent-return": "error",
24+
"curly": "error",
25+
"default-case": "error",
26+
"dot-location": ["error", "property"],
27+
"dot-notation": "error",
28+
"eqeqeq": "error",
29+
"guard-for-in": "error",
30+
"no-alert": "error",
31+
"no-caller": "error",
32+
"no-console": "error",
33+
"no-div-regex": "error",
34+
"no-else-return": "error",
35+
"no-empty-function": "error",
36+
"no-eq-null": "error",
37+
"no-eval": "error",
38+
"no-extend-native": "error",
39+
"no-extra-bind": "error",
40+
"no-extra-label": "error",
41+
"no-floating-decimal": "error",
42+
"no-implicit-coercion": "error",
43+
"no-implicit-globals": "error",
44+
"no-implied-eval": "error",
45+
"no-invalid-this": "off",
46+
"no-iterator": "error",
47+
"no-labels": "error",
48+
"no-lone-blocks": "error",
49+
"no-loop-func": "error",
50+
"no-magic-numbers": ["error", {
51+
"ignore": [-1, 0, 1],
52+
"ignoreArrayIndexes": true
53+
}
54+
],
55+
"no-multi-spaces": ["error", {
56+
"ignoreEOLComments": true,
57+
"exceptions": {
58+
"AssignmentExpression": true,
59+
"ArrowFunctionExpression": true,
60+
"CallExpression": true,
61+
"VariableDeclarator": true
62+
}
63+
}
64+
],
65+
"no-multi-str": "error",
66+
"no-new": "error",
67+
"no-new-func": "error",
68+
"no-new-wrappers": "error",
69+
"no-octal-escape": "error",
70+
"no-param-reassign": "off",
71+
"no-proto": "error",
72+
"no-restricted-properties": "error",
73+
"no-return-assign": "error",
74+
"no-return-await": "error",
75+
"no-script-url": "error",
76+
"no-self-compare": "error",
77+
"no-sequences": "error",
78+
"no-throw-literal": "error",
79+
"no-unmodified-loop-condition": "error",
80+
"no-unused-expressions": "error",
81+
"no-useless-call": "error",
82+
"no-useless-concat": "error",
83+
"no-useless-return": "error",
84+
"no-void": "error",
85+
"no-warning-comments": "off",
86+
"no-with": "error",
87+
"prefer-promise-reject-errors": "error",
88+
"radix": "error",
89+
"require-await": "error",
90+
"vars-on-top": "error",
91+
"wrap-iife": "error",
92+
"yoda": "error",
93+
94+
// Strict Mode
95+
"strict": "error",
96+
97+
// Variables
98+
"init-declarations": "off",
99+
"no-catch-shadow": "error",
100+
"no-label-var": "error",
101+
"no-restricted-globals": "error",
102+
"no-shadow": "off",
103+
"no-shadow-restricted-names": "error",
104+
"no-undef-init": "error",
105+
"no-undefined": "error",
106+
"no-use-before-define": "off",
107+
108+
// Node.js and CommonJS
109+
"callback-return": "off",
110+
"global-require": "error",
111+
"handle-callback-err": "error",
112+
"no-mixed-requires": "error",
113+
"no-new-require": "error",
114+
"no-path-concat": "error",
115+
"no-process-env": "error",
116+
"no-process-exit": "error",
117+
"no-restricted-modules": "error",
118+
"no-sync": "error",
119+
120+
// Stylistic Issues
121+
"array-bracket-spacing": "error",
122+
"block-spacing": "error",
123+
"brace-style": "error",
124+
"camelcase": "error",
125+
"capitalized-comments": "off",
126+
"comma-dangle": "error",
127+
"comma-spacing": "error",
128+
"comma-style": "error",
129+
"computed-property-spacing": "error",
130+
"consistent-this": "error",
131+
"eol-last": "error",
132+
"func-call-spacing": "error",
133+
"func-name-matching": "error",
134+
"func-names": "off",
135+
"func-style": ["error", "declaration"],
136+
"id-blacklist": "error",
137+
"id-length": "off",
138+
"id-match": "error",
139+
"indent": ["error", 2, { "SwitchCase": 1 }],
140+
"jsx-quotes": "error",
141+
"key-spacing": "off",
142+
"keyword-spacing": "error",
143+
"linebreak-style": ["error", "unix"],
144+
"line-comment-position": "off",
145+
"lines-around-comment": "off",
146+
"lines-around-directive": "error",
147+
"max-depth": ["error", 10],
148+
"max-len": "off",
149+
"max-lines": "off",
150+
"max-nested-callbacks": "error",
151+
"max-params": "off",
152+
"max-statements": "off",
153+
"max-statements-per-line": "error",
154+
"multiline-ternary": "off",
155+
"new-cap": ["error", { "capIsNewExceptionPattern": "$.*" }],
156+
"newline-after-var": "off",
157+
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }],
158+
"new-parens": "error",
159+
"no-array-constructor": "error",
160+
"no-bitwise": "error",
161+
"no-continue": "off",
162+
"no-inline-comments": "off",
163+
"no-lonely-if": "error",
164+
"no-mixed-operators": "off",
165+
"no-multi-assign": "error",
166+
"no-multiple-empty-lines": "error",
167+
"nonblock-statement-body-position": "error",
168+
"no-negated-condition": "off",
169+
"no-nested-ternary": "error",
170+
"no-new-object": "error",
171+
"no-plusplus": "off",
172+
"no-restricted-syntax": "error",
173+
"no-tabs": "error",
174+
"no-ternary": "off",
175+
"no-trailing-spaces": "error",
176+
"no-underscore-dangle": "off",
177+
"no-unneeded-ternary": "error",
178+
"no-whitespace-before-property": "error",
179+
"object-curly-newline": ["error", { "minProperties": 1 }],
180+
"object-curly-spacing": ["error", "always"],
181+
"object-property-newline": "error",
182+
"one-var": ["error", "never"],
183+
"one-var-declaration-per-line": "error",
184+
"operator-assignment": "error",
185+
"operator-linebreak": "error",
186+
"padded-blocks": ["error", "never"],
187+
"padding-line-between-statements": "off",
188+
"quote-props": ["error", "as-needed"],
189+
"quotes": ["error", "single"],
190+
"require-jsdoc": "off",
191+
"semi": ["error", "never"],
192+
"semi-spacing": "error",
193+
"sort-keys": "off",
194+
"sort-vars": "error",
195+
"space-before-blocks": "error",
196+
"space-before-function-paren": ["error", {
197+
"anonymous": "always",
198+
"named": "never"
199+
}],
200+
"space-in-parens": "error",
201+
"space-infix-ops": "error",
202+
"space-unary-ops": "error",
203+
"spaced-comment": "error",
204+
"template-tag-spacing": "error",
205+
"unicode-bom": "error",
206+
"wrap-regex": "off",
207+
208+
// ECMAScript 6
209+
"arrow-body-style": ["error", "as-needed"],
210+
"arrow-parens": "error",
211+
"arrow-spacing": "error",
212+
"generator-star-spacing": "error",
213+
"no-confusing-arrow": "error",
214+
"no-duplicate-imports": "error",
215+
"no-restricted-imports": "error",
216+
"no-useless-computed-key": "error",
217+
"no-useless-constructor": "error",
218+
"no-useless-rename": "error",
219+
"no-var": "error",
220+
"object-shorthand": "error",
221+
"prefer-arrow-callback": "error",
222+
"prefer-const": "error",
223+
"prefer-destructuring": "off",
224+
"prefer-numeric-literals": "error",
225+
"prefer-rest-params": "error",
226+
"prefer-spread": "error",
227+
"prefer-template": "error",
228+
"rest-spread-spacing": "error",
229+
"sort-imports": "error",
230+
"symbol-description": "error",
231+
"template-curly-spacing": "error",
232+
"yield-star-spacing": "error"
233+
}
234+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Enforce Unix newlines
2+
*.css text eol=lf
3+
*.html text eol=lf
4+
*.js text eol=lf
5+
*.json text eol=lf
6+
*.md text eol=lf
7+
*.rb text eol=lf
8+
*.scss text eol=lf
9+
*.svg text eol=lf
10+
*.txt text eol=lf
11+
*.xml text eol=lf
12+
*.yml text eol=lf
13+
14+
# Don't diff or textually merge source maps
15+
*.map binary
16+
17+
bootstrap.css linguist-vendored=false
18+
bootstrap.js linguist-vendored=false
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.js @twbs/js-review
2+
*.css @twbs/css-review
3+
*.scss @twbs/css-review

0 commit comments

Comments
 (0)