Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4 #17021

Closed
wants to merge 6,124 commits into from
Closed

v4 #17021

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6124 commits
Select commit Hold shift + click to select a range
3ab82e5
drop "simply" and tweak a few other bits
mdo Dec 29, 2017
a6996ef
layout/overview.md: fix double copy button.
XhmikosR Dec 30, 2017
45b649f
application.js: make the clipboard button selector more restrictive.
XhmikosR Dec 30, 2017
6a17e63
Remove trailing spaces.
XhmikosR Dec 30, 2017
06d8e58
Add `docs-github-serve` script for local serving the `github` target.…
XhmikosR Dec 30, 2017
bf0e753
Update devDependencies and gems. (#25083)
XhmikosR Dec 31, 2017
e0e9bc8
Move inline JS outside of HTML. (#25140)
XhmikosR Dec 31, 2017
2b41526
Remove Entypo from "Preferred Icon Sets". (#25141)
raajtram Dec 31, 2017
d90dddf
Add `.order-0` to the flexbox grid ordering helpers. (#25137)
kevinruscoe Dec 31, 2017
fc942ce
Mention -file-text change in Migration docs (#25144)
mdo Dec 31, 2017
5b8eaff
dist
mdo Dec 31, 2017
43c551e
Outline active focus (#25145)
mdo Dec 31, 2017
8c87e01
Add modal-dialog-centered class to vertically centered modal example.
Kramb Dec 29, 2017
5f3856c
removes hardcoded value for nav-link padding
andresgalante Dec 29, 2017
6b5a2ff
Apply of #25068 to input group
ysds Dec 29, 2017
d08eb55
dist
mdo Dec 31, 2017
863cb13
Add positive border utilities
ysds Dec 31, 2017
e290d8f
Add description about positive border
ysds Dec 31, 2017
bee859c
docs: Fix overflow issue in IE. (#25142)
MartijnCuppens Dec 31, 2017
ae71e71
Allow nested structure for accordions (#25121)
MartijnCuppens Dec 31, 2017
48c4599
Textarea support for input groups
gijsbotje Dec 31, 2017
04bffc3
Remove incorrect roles from accordion, tweak/expand accessibility info
patrickhlauke Jan 1, 2018
987ae5b
Use `<button>` elements rather than links for the accordion
patrickhlauke Jan 1, 2018
44eebe4
dist
mdo Jan 2, 2018
7acfa61
Merge branch 'docs-border-utilities' of https://github.com/ysds/boots…
mdo Jan 2, 2018
750291b
Darken border color slightly
mdo Jan 2, 2018
dccd003
improve additive/subtractive border util docs
mdo Jan 2, 2018
c0246e9
improves accordion styles
andresgalante Sep 5, 2017
8bb39f2
Remove incorrect roles from accordion, tweak/expand accessibility inf…
patrickhlauke Jan 2, 2018
8462cc2
Expand keyboard advice for tooltips, clarify what `manual` trigger do…
patrickhlauke Jan 2, 2018
9474d06
Merge branch 'patch-8' of https://github.com/gijsbotje/bootstrap into…
mdo Jan 3, 2018
1e6a0f4
add example of textarea to docs
mdo Jan 3, 2018
e3e4d03
dist
mdo Jan 3, 2018
2dc5762
Update pagination focus styles
mdo Dec 31, 2017
d66875d
Remove double borders for custom select and custom file
MartijnCuppens Jan 2, 2018
460849d
Validation tooltip example (#25143)
mdo Jan 3, 2018
1cfbb83
Add some documentation on using CSS vars (#25176)
mdo Jan 3, 2018
7044ea8
Patch fractional viewport widths to work around Safari rounding bug (…
patrickhlauke Jan 3, 2018
a1d134f
Multiple accordion support (#25161)
MartijnCuppens Jan 3, 2018
8184c64
Document `order-0` (#25191)
ysds Jan 3, 2018
20765b5
Print tweaks (#25164)
mdo Jan 4, 2018
34cd203
dist
mdo Jan 4, 2018
a05f1d8
add validation feedback/tooltip support to form-check-inputs
supergibbs Jan 5, 2018
20a251a
Added required checkbox example
supergibbs Jan 5, 2018
d7dbdf9
added variable for the background of checked and indeterminate custom…
gijsbotje Jan 6, 2018
1a231e4
Check for window before window.QUnit (#25199)
lukaszzdanikowski Jan 8, 2018
ec307bd
Merge branch 'v4-dev' into custom-check-disabled
gijsbotje Jan 10, 2018
2f9d4d8
Work around Travis errors by switching to sudo.
XhmikosR Jan 9, 2018
13be9aa
Ignore the bogus lang vnu.jar error.
XhmikosR Jan 10, 2018
5c53c8e
Fix variable name in display utility class naming (#25261)
nesinervink Jan 11, 2018
d015ab9
Update browser compatibility note for `position: sticky` since Edge s…
coliff Jan 11, 2018
bea3147
Fix invalid "constraint validation API" URL in docs (#25244)
nesinervink Jan 11, 2018
bfceedc
Update devDependencies and gems. (#25192)
XhmikosR Jan 11, 2018
4a1bc75
Merge branch 'v4-dev' into custom-check-disabled
XhmikosR Jan 11, 2018
2e15b94
Remove `touch-action:manipulation` click optimization (#25250)
patrickhlauke Jan 11, 2018
92cc0ab
Deprecate hover media query shim and mixins (#25270)
mdo Jan 11, 2018
6d33650
Clean up and tweak ESLint rules.
XhmikosR Dec 16, 2017
80d0943
Comply to the new rules.
XhmikosR Dec 16, 2017
6d8d863
dist
mdo Jan 12, 2018
44eedf3
Merge branch 'custom-check-disabled' of https://github.com/gijsbotje/…
mdo Jan 13, 2018
f4bf054
Add direct children selectors to avoid cascading styles into a menu f…
ysds Jan 13, 2018
216c7ea
Fix breakpoint mixins for custom breakpoint maps (#25264)
sandydoo Jan 13, 2018
588227f
Fixed color for disabled buttons (#25167)
wolfgangGoedel Jan 13, 2018
17b0472
$component-active-bg and $component-active-color are partially useful…
pat270 Jan 13, 2018
71550d3
Add new Approach docs page (#25165)
mdo Jan 14, 2018
38271b2
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
mdo Jan 14, 2018
edfc2e8
dist
mdo Jan 14, 2018
ffcbdb5
Mixin `button-outline-variant` should retain active box shadow when f…
pat270 Jan 2, 2018
638953e
add List Group Flush to List Group docs (#25289)
korthjp17 Jan 14, 2018
4a64592
dist
mdo Jan 14, 2018
e946348
Examples updates (#24898)
mdo Jan 15, 2018
ed286e0
one more img compression
mdo Jan 15, 2018
eb6db8a
Theming docs update (#25300)
mdo Jan 15, 2018
bcccfaa
Fixes dropdown snippets (#25301)
ysds Jan 15, 2018
0d110c8
Update copyright for 2k18 (#25303)
mdo Jan 15, 2018
14bd7d7
Add display utilities to bootstrap-grid.scss (#25308)
mdo Jan 15, 2018
fa3de5c
Add example of a Spanish translation for custom file input (#25302)
mdo Jan 15, 2018
1f490ec
Consistently use `:disabled` rather than `[disabled]` selector (#25317)
patrickhlauke Jan 15, 2018
e6d9316
Use the SRI hashes for the live site's assets. (#25282)
XhmikosR Jan 15, 2018
b5039d5
closes #25280
mdo Jan 16, 2018
c8d9c0e
Merge branch 'form-check-input-validation' of https://github.com/supe…
mdo Jan 16, 2018
2f4e785
Adjust language
mdo Jan 16, 2018
d16eb10
Mention .input-group-text in migration docs (#25325)
mdo Jan 16, 2018
814e5b7
Extend spacers and sizes (#25101)
iamandrewluca Jan 16, 2018
a531b46
Using the expected variable to set the custom select height. (#25169)
straube Jan 16, 2018
f4132db
Add order-last grid class (#24915)
cahbb Jan 16, 2018
18f6915
dist
mdo Jan 17, 2018
4c96f58
Fix input height border (#25331)
iamandrewluca Jan 17, 2018
b1a7548
Use .list-group-item-action for list group item variant (#25338)
ysds Jan 17, 2018
a0936c3
Outline button hover color (#25339)
mdo Jan 17, 2018
9b0fcbf
Prevent print utils from overriding all other display utils (#25269)
mdo Jan 18, 2018
b00bbf0
Only 2-col on sm+
mdo Jan 15, 2018
6902219
Consistently sized 960x600 wide images.
mdo Jan 17, 2018
91d5846
Improve examples' screenshots compression.
XhmikosR Jan 17, 2018
20a9c7f
dist
mdo Jan 18, 2018
45d2f2e
Restore sidebar nav link to Approach page
mdo Jan 18, 2018
bffa438
Update progress.md (#25355)
coliff Jan 18, 2018
572d00a
Bump version to 4.0.0
mdo Jan 18, 2018
8a628b9
Remove -Pre from Nuget install info since we're stable now /cc @super…
mdo Jan 18, 2018
47028b6
Correct capitalisation of PayPal (#25362)
coliff Jan 19, 2018
ee49881
Remove mention of disabled buttons support for Opera 18 (#25357)
coliff Jan 19, 2018
0f53402
Use Jekyll's markdownify filter instead of a custom plugin (#25319)
m5o Jan 19, 2018
2b8b062
Allow to change `.table-striped` `odd` or `even` (#25333)
iamandrewluca Jan 19, 2018
6b48747
Remove -Pre from Nuget install
vsn4ik Jan 19, 2018
d5b10c9
dist
mdo Jan 20, 2018
f800383
Merge branch 'borderless-table' of https://github.com/Varunram/bootst…
mdo Jan 20, 2018
3a6ab45
rearrange and override extra borders
mdo Jan 20, 2018
a098de1
tweak html
mdo Jan 20, 2018
bd9084d
Update dropdown.js to allow referenceElement (#25219)
719media Jan 21, 2018
db70164
ignore case (#25373)
denisx Jan 21, 2018
5a6be71
Remove escaping selector and add a warning to inform folks to escape …
Johann-S Jan 21, 2018
3be5112
Use variables for theme-color-level function
mdo Jan 21, 2018
2137d61
Add missing flex-fill utility
pvdlg Mar 20, 2017
8374f54
Document .flex-fill class in flex utils
mdo Jan 21, 2018
2b42ef0
Add CSS Utility for `auto` width and height Properties (#24249)
taufek Jan 21, 2018
d824bdf
Allow to customize vertical margin of `nav-divider` mixin
ysds Jan 22, 2018
d402183
v4.1: Add .dropdown-item-text (#22965)
mdo Jan 22, 2018
663057d
Feature: Add carousel fade option (#22958)
mdo Jan 22, 2018
96a9e98
Update devDependencies. (#25371)
XhmikosR Jan 22, 2018
3e2fbd5
Fix typo in navs.md (#25404)
huphtur Jan 23, 2018
5068b43
Update jQuery to v3.3.1. (#25398)
XhmikosR Jan 23, 2018
f76e1f6
Fix typo in approach.md (#25492)
exige81 Jan 28, 2018
e559034
Update devDependencies and gems. (#25502)
XhmikosR Jan 30, 2018
0a4c0a5
Fix example Blog post card text overflowing for medium screen size. (…
clearyusc Jan 30, 2018
38fc5cf
Replace unicode character in _hover.scss (#25503)
rvanlaak Jan 30, 2018
8adb533
Fix "CVV" label pointing to wrong field (#25518)
ysds Jan 31, 2018
87e5fa1
Clarify stacked-to-horizontal in layout/grid.md (#25520)
janclarin Jan 31, 2018
399ae31
Add FontAwesome to icon list. (#25451)
bardiharborow Jan 31, 2018
e216c88
Examples: Prevent focus into closed offcanvas (#25524)
ysds Jan 31, 2018
c68d26b
Override .custom-select width in .form-inline (#25414)
mdo Feb 2, 2018
24ab1fc
close #25534
mdo Feb 3, 2018
5158338
Fix pagination buttons hover z-index (#25532)
MartijnCuppens Feb 3, 2018
0f8145a
Clarify migration docs to remove mention of .table-responsive being f…
mdo Feb 3, 2018
9057d8d
Update devDependencies and gems. (#25551)
XhmikosR Feb 5, 2018
2dc9c76
Enable `scss/dollar-variable-default` rule (#25542)
freezy-sk Feb 7, 2018
eca9c98
Fix the incorrect id in center modal example
ysds Feb 9, 2018
54a43a7
Remove `show` class from example code (#25570)
supergibbs Feb 11, 2018
49954d5
Create a variable for label margin bottom (#25561)
andresgalante Feb 11, 2018
37ed1d0
use $input-bg for $custom-select-bg (#25564)
m5o Feb 11, 2018
3ffe4f8
Update themeing docs for more clearly how to remove from map (#25589)
ysds Feb 11, 2018
f81f419
set color to form-control-plaintext (#25565)
m5o Feb 11, 2018
e373fbe
dist
mdo Feb 11, 2018
9811121
Update `.sr-only` mixin and utility (#25197)
mdo Feb 11, 2018
8dd1fe3
Fix border-radius on Browse button for custom file input inside input…
mdo Feb 11, 2018
ba878eb
Update stylelint config to add missing properties (#25572)
in-in Feb 11, 2018
65ae622
Dropdown - Allow to disable Popper.js style (#24092)
Johann-S Feb 12, 2018
0205fc8
Prevent word-wrap (#25248)
MartijnCuppens Feb 12, 2018
27e670a
Update position.md (#25607)
BigGillyStyle Feb 13, 2018
cd7f252
Reword alert and list group text to avoid "a/an" problems
patrickhlauke Feb 14, 2018
73357f9
[Docs] Clarify suggested use of custom validation styles, add note ab…
patrickhlauke Feb 16, 2018
c381d19
Add `type="button"` to `<button>`s in accordion example (#25643)
patrickhlauke Feb 16, 2018
3dd0bde
Fix carousel transition duration (#25218)
MartijnCuppens Feb 19, 2018
470b447
Custom range input (#25600)
mdo Feb 19, 2018
24a5376
Be more explicit where to find variables (#25624)
pgiraud Feb 19, 2018
33f3ba3
Add color variable for caption (#25657)
ysds Feb 19, 2018
6a52ebf
dist
mdo Feb 19, 2018
982aeea
Merge branch 'accordion-borders' of https://github.com/andresgalante/…
mdo Feb 19, 2018
c9f63c2
Merge branch 'nav-divider-mixin' of https://github.com/ysds/bootstrap…
mdo Feb 20, 2018
99379f3
make it a var
mdo Feb 20, 2018
8cfbf69
Consistent usage of $(document.body) instead of $('body') (#25671)
MartijnCuppens Feb 21, 2018
4752159
Brush up vertical rhythm of form-check in docs. Closes #25546
peterblazejewicz Feb 4, 2018
20c2d0f
Remove disabling of stylelint rule
adambowles Feb 13, 2018
d1bd5fb
Add focus states to custom docs buttons
MartijnCuppens Feb 24, 2018
6708c4d
Fix typo of example in hiding doc
peterpeterparker Feb 22, 2018
b8bfd26
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
mdo Feb 24, 2018
f3cec5e
dist
mdo Feb 24, 2018
9cf3ebb
Fixes #25703
mdo Feb 24, 2018
c9b194a
Add tabindex attribute to disabled buttons sample. Closes #23361 (#25…
peterblazejewicz Feb 24, 2018
29f178d
Remove unused variable (#25670)
MartijnCuppens Feb 25, 2018
34bc00d
docs skippy partial (#25750)
m5o Mar 1, 2018
6431d74
display on xl viewport
Feb 25, 2018
b33316d
Fix leftover reference to v4.0.0-alpha.6
edmorley Mar 3, 2018
ae1a068
Replace img-fluid by w-100 to conform with HTML
webchopin Feb 18, 2018
49d0a4e
Adding a variable to handle the change of a modals border-radius. (#2…
akolinski Mar 3, 2018
a651d73
dist
mdo Mar 3, 2018
c0e1f7d
Fix #25746
mdo Mar 4, 2018
e9412e7
Update blockquote migration docs to reflect #22949
mdo Mar 4, 2018
b7a549c
Update devDependencies and gems. (#25708)
XhmikosR Mar 5, 2018
e43f973
add code coverage
Johann-S Mar 2, 2018
fb60a4a
Add a bit of documentation on how to run the code coverage (#25783)
Johann-S Mar 6, 2018
817b80d
Update webpack.md
bertday Mar 7, 2018
2ccb549
style: align some vars (#25785)
zalog Mar 8, 2018
2b86193
add Icons8 to icon options (#25763)
m5o Mar 8, 2018
f893ec7
Collapse with flex elements - simple approach (#25806)
MartijnCuppens Mar 12, 2018
21061a0
re-use gray for bd-example border / background (#25751)
m5o Mar 12, 2018
50220ac
Fix caret alignment (#25719)
ysds Mar 12, 2018
6d7d91e
Allow customization of breadcrumb border radius (#25807)
ahjorth Mar 12, 2018
f4051ab
Clean shell scripts (#25704)
zapashcanon Mar 12, 2018
27f553c
Replace "loose" HEX values with their respective variables (#25672)
jacobmllr95 Mar 12, 2018
5b0e40b
Fix examples' issues #25664 and #25388 (#25665)
ysds Mar 12, 2018
fb15575
Disable link functionality on disabled `btn-link` (#25645)
peteretelej Mar 12, 2018
14f7126
Add basic position to dropup/right/left and dropdown-menu-right (#25400)
ysds Mar 12, 2018
7b2427c
Rename `.custom-file-control` to `.custom-file-label` (#25736)
ysds Mar 12, 2018
b5e6eb2
Use callout without custom Jekyll plugin.
m5o Jan 15, 2018
836de9c
callout.html: drop whitespace and better usage comment.
XhmikosR Mar 12, 2018
b9628d0
Use bugify without custom Jekyll plugin (#25334)
m5o Mar 12, 2018
1859595
Clarify the necessary `data-target`/`href` attribute for carousel con…
balbuf Mar 13, 2018
1fadad1
Variable transition durations (#25662)
MartijnCuppens Mar 13, 2018
2c41b0a
fix get the transition duration parent
Johann-S Mar 13, 2018
a93830c
saucelabs-unit-test.js: tweak failed tests message (#25836)
XhmikosR Mar 13, 2018
dea778f
approach.md: Fix empty link.
XhmikosR Mar 13, 2018
c98ece5
approach.md: Use normal apostrophes.
XhmikosR Mar 13, 2018
4d5c592
Add Sinon to do better unit test
Johann-S Mar 9, 2018
03b7f52
Document `.form-control-range`. (#25839)
Varunram Mar 13, 2018
d01b4eb
Remove custom example plugin. (#25784)
m5o Mar 14, 2018
483e49e
Enable docsearch in development env.
m5o Mar 7, 2018
b9577a1
Alternative solution.
XhmikosR Mar 14, 2018
f194b9d
Fix order of Save/Close buttons in modal code example (#25855)
Bennet11 Mar 15, 2018
4b948bf
Update vertical pills example (#25852)
Varunram Mar 16, 2018
00304d2
theming.md Typo Fix (#25875)
ethanbeyer Mar 16, 2018
c53825d
Separate issue templates, add support doc (#25705)
mdo Mar 17, 2018
2306f62
Making use of `prefers-reduced-motion` media query (#25641)
MikeRogers0 Mar 20, 2018
bedc96e
Use transitionEnd in QUnit since we moved away from PhantomJS
Johann-S Mar 20, 2018
9191fa7
throw error when coverage is under our thresholds
Johann-S Mar 20, 2018
1a40784
Update dependencies.
XhmikosR Mar 13, 2018
7d3ca1b
tests: use QUnit from the jQuery CDN.
XhmikosR Mar 13, 2018
1615a76
Use sinon from cdnjs.
XhmikosR Mar 13, 2018
7dc41e2
Update to workbox 3.0 & fix breaking changes
MikeyBeLike Mar 16, 2018
002cd8f
sw.js: fix TypeError with new workbox.
XhmikosR Mar 20, 2018
c8d7eec
Update workbox.js
XhmikosR Mar 20, 2018
e0ab096
Update all devDependencies.
XhmikosR Mar 20, 2018
012d443
fix rollup config
Johann-S Mar 20, 2018
f5e16ce
tests: load 3rd-party libs from the local node_modules folder.
XhmikosR Mar 21, 2018
2cd7003
Remove the local jquery-1.9.1.min.js.
XhmikosR Mar 21, 2018
68db42c
Fix skip element disabled via attribute when using keyboard navigation
vsn4ik Jan 22, 2018
9efcf3a
Fix duplicate `main` element.
XhmikosR Mar 27, 2018
9cdb7a8
Fix spacing between Item and numbers
ntzm Mar 27, 2018
fd57d37
fix bundle and run test against it
Johann-S Mar 29, 2018
50f6160
Add .bg-transparent to docs
Varunram Mar 29, 2018
7052085
docs: Switch to StackPath's URL.
XhmikosR Mar 27, 2018
5660c97
Revert "docs: Switch to StackPath's URL."
XhmikosR Mar 30, 2018
902788e
Correct children selector
MartijnCuppens Mar 30, 2018
cf71363
fixes #25918
mdo Mar 31, 2018
b744ba2
dist
mdo Mar 31, 2018
abe44dc
Add small not to float docs about mixing with flex items
mdo Mar 31, 2018
b2e423f
fixes #25343 by mentioning how collapse animates in docs
mdo Apr 1, 2018
185666f
Add .text-monospace util
mdo Apr 1, 2018
12708d3
Remove navbar align
MartijnCuppens Mar 14, 2018
9f5f51d
Close #25697
mdo Mar 31, 2018
4f05e3b
add .text-body, fixes #25412
mdo Mar 31, 2018
3417c54
add 50% translucent black and white text
mdo Mar 31, 2018
b72bd05
document new text color utils
mdo Mar 31, 2018
474698f
Fix Chrome's rendering of .card-columns
mdo Mar 31, 2018
7449034
Add new .flex-grow and .flex-shrink utils
mdo Mar 31, 2018
a016cbd
Mention browserslist config in our docs to close #25429
mdo Mar 31, 2018
dd7ed79
Add box-shadow utilities (#25758)
mdo Apr 1, 2018
98763f1
Deprecate .text-hide (#26173)
mdo Apr 1, 2018
07a302a
dist
mdo Apr 1, 2018
0b58340
docs edit suggestion
mdo Apr 1, 2018
a0c7473
Tiny grammar and punctuation tweaks to a comment.
rec Apr 1, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
presets: [
[
'@babel/env',
{
loose: true,
modules: false,
exclude: ['transform-typeof-symbol']
}
]
],
plugins: [
process.env.PLUGINS && 'transform-es2015-modules-strip',
'@babel/proposal-object-rest-spread'
].filter(Boolean),
env: {
test: {
plugins: [ 'istanbul' ]
}
}
};
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.py]
indent_size = 4
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/*.min.js
**/dist/
**/vendor/
/_gh_pages/
/package.js
235 changes: 235 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
{
"root": true,
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"plugins": ["compat"],
"rules": {
// Possible Errors
"no-await-in-loop": "error",
"no-extra-parens": "error",
"no-prototype-builtins": "error",
"no-template-curly-in-string": "error",
"compat/compat": "error",
"valid-jsdoc": "error",

// Best Practices
"accessor-pairs": "error",
"array-callback-return": "error",
"block-scoped-var": "error",
"class-methods-use-this": "off",
"complexity": "error",
"consistent-return": "error",
"curly": "error",
"default-case": "error",
"dot-location": ["error", "property"],
"dot-notation": "error",
"eqeqeq": "error",
"guard-for-in": "error",
"no-alert": "error",
"no-caller": "error",
"no-div-regex": "error",
"no-else-return": "error",
"no-empty-function": "error",
"no-eq-null": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-label": "error",
"no-floating-decimal": "error",
"no-implicit-coercion": "error",
"no-implicit-globals": "error",
"no-implied-eval": "error",
"no-invalid-this": "off",
"no-iterator": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-loop-func": "error",
"no-magic-numbers": ["error", {
"ignore": [-1, 0, 1],
"ignoreArrayIndexes": true
}
],
"no-multi-spaces": ["error", {
"ignoreEOLComments": true,
"exceptions": {
"AssignmentExpression": true,
"ArrowFunctionExpression": true,
"CallExpression": true,
"VariableDeclarator": true
}
}
],
"no-multi-str": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
"no-octal-escape": "error",
"no-param-reassign": "off",
"no-proto": "error",
"no-restricted-properties": "error",
"no-return-assign": "error",
"no-return-await": "error",
"no-script-url": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-throw-literal": "error",
"no-unmodified-loop-condition": "error",
"no-unused-expressions": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-return": "error",
"no-void": "error",
"no-warning-comments": "off",
"no-with": "error",
"prefer-promise-reject-errors": "error",
"radix": "error",
"require-await": "error",
"vars-on-top": "error",
"wrap-iife": "error",
"yoda": "error",

// Strict Mode
"strict": "error",

// Variables
"init-declarations": "off",
"no-catch-shadow": "error",
"no-label-var": "error",
"no-restricted-globals": "error",
"no-shadow": "off",
"no-shadow-restricted-names": "error",
"no-undef-init": "error",
"no-undefined": "error",
"no-use-before-define": "off",

// Node.js and CommonJS
"callback-return": "off",
"global-require": "error",
"handle-callback-err": "error",
"no-mixed-requires": "error",
"no-new-require": "error",
"no-path-concat": "error",
"no-process-env": "error",
"no-process-exit": "error",
"no-restricted-modules": "error",
"no-sync": "error",

// Stylistic Issues
"array-bracket-spacing": "error",
"block-spacing": "error",
"brace-style": "error",
"camelcase": "error",
"capitalized-comments": "off",
"comma-dangle": "error",
"comma-spacing": "error",
"comma-style": "error",
"computed-property-spacing": "error",
"consistent-this": "error",
"eol-last": "error",
"func-call-spacing": "error",
"func-name-matching": "error",
"func-names": "off",
"func-style": ["error", "declaration"],
"id-blacklist": "error",
"id-length": "off",
"id-match": "error",
"indent": ["error", 2, { "SwitchCase": 1 }],
"jsx-quotes": "error",
"key-spacing": "off",
"keyword-spacing": "error",
"linebreak-style": ["error", "unix"],
"line-comment-position": "off",
"lines-around-comment": "off",
"lines-around-directive": "error",
"max-depth": ["error", 10],
"max-len": "off",
"max-lines": "off",
"max-nested-callbacks": "error",
"max-params": "off",
"max-statements": "off",
"max-statements-per-line": "error",
"multiline-ternary": "off",
"new-cap": ["error", { "capIsNewExceptionPattern": "$.*" }],
"newline-after-var": "off",
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }],
"new-parens": "error",
"no-array-constructor": "error",
"no-bitwise": "error",
"no-continue": "off",
"no-inline-comments": "off",
"no-lonely-if": "error",
"no-mixed-operators": "off",
"no-multi-assign": "error",
"no-multiple-empty-lines": "error",
"nonblock-statement-body-position": "error",
"no-negated-condition": "off",
"no-nested-ternary": "error",
"no-new-object": "error",
"no-plusplus": "off",
"no-restricted-syntax": "error",
"no-tabs": "error",
"no-ternary": "off",
"no-trailing-spaces": "error",
"no-underscore-dangle": "off",
"no-unneeded-ternary": "error",
"no-whitespace-before-property": "error",
"object-curly-newline": ["error", { "minProperties": 1 }],
"object-curly-spacing": ["error", "always"],
"object-property-newline": "error",
"one-var": ["error", "never"],
"one-var-declaration-per-line": "error",
"operator-assignment": "error",
"operator-linebreak": "error",
"padded-blocks": ["error", "never"],
"padding-line-between-statements": "off",
"quote-props": ["error", "as-needed"],
"quotes": ["error", "single"],
"require-jsdoc": "off",
"semi": ["error", "never"],
"semi-spacing": "error",
"sort-keys": "off",
"sort-vars": "error",
"space-before-blocks": "error",
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never"
}],
"space-in-parens": "error",
"space-infix-ops": "error",
"space-unary-ops": "error",
"spaced-comment": "error",
"template-tag-spacing": "error",
"unicode-bom": "error",
"wrap-regex": "off",

// ECMAScript 6
"arrow-body-style": ["error", "as-needed"],
"arrow-parens": "error",
"arrow-spacing": "error",
"generator-star-spacing": "error",
"no-confusing-arrow": "error",
"no-duplicate-imports": "error",
"no-restricted-imports": "error",
"no-useless-computed-key": "error",
"no-useless-constructor": "error",
"no-useless-rename": "error",
"no-var": "error",
"object-shorthand": "error",
"prefer-arrow-callback": "error",
"prefer-const": "error",
"prefer-destructuring": "off",
"prefer-numeric-literals": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error",
"rest-spread-spacing": "error",
"sort-imports": "error",
"symbol-description": "error",
"template-curly-spacing": "error",
"yield-star-spacing": "error"
}
}
5 changes: 3 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.less text eol=lf
*.md text eol=lf
*.rb text eol=lf
*.scss text eol=lf
*.svg text eol=lf
*.txt text eol=lf
*.yml text eol=lf
# Don't diff or textually merge source maps
*.map binary

bootstrap-theme.css linguist-vendored=false
bootstrap.css linguist-vendored=false
bootstrap.js linguist-vendored=false
Loading