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

Adjust examples #25326

Merged
merged 9,187 commits into from Jan 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
9187 commits
Select commit Hold shift + click to select a range
2bbb9e0
Shorten ignores - add more comments.
XhmikosR Oct 31, 2017
fb4c9fa
More wording tweaks
patrickhlauke Oct 31, 2017
f9188de
Fix invalid `<nav ... role="tablist">` in docs.
patrickhlauke Oct 31, 2017
3f575d9
Fix broken footer link after the about page revamp. (#24612)
XhmikosR Oct 31, 2017
d969c3f
Update devDependencies and gems. (#24610)
XhmikosR Oct 31, 2017
445558b
Create CODE_OF_CONDUCT.md (#24629)
mdo Nov 1, 2017
9244974
Convert modal's px units to rem (#23782)
andresgalante Nov 2, 2017
c52a13d
Update our Webpack documentation for Webpack 3 (#24656)
Johann-S Nov 3, 2017
7f6ad11
Update Jekyll excludes to ignore more files.
XhmikosR Nov 3, 2017
433bf30
Add svg files in workbox and remove jpg.
XhmikosR Nov 3, 2017
c26ef89
getting-started/introduction.md: move title below the retired meta tags.
XhmikosR Nov 3, 2017
c13faac
Highlight snippet as CSS.
XhmikosR Nov 3, 2017
ed374d1
Remove a few extra newlines.
XhmikosR Nov 3, 2017
1fc0f25
Remove whitespace in SVG includes.
XhmikosR Nov 3, 2017
f74fe3a
Update package-lock.json. (#24666)
XhmikosR Nov 3, 2017
34d7455
Minor Sass consistency changes. (#24677)
XhmikosR Nov 6, 2017
b931070
changes list-inline-padding from 5px to .5rem
andresgalante Oct 31, 2017
0581234
Convert px values to rem on tooltip variables (#23468)
andresgalante Nov 6, 2017
bfbf24e
fixing label cutoff at 0% (#24544)
gijsbotje Nov 6, 2017
a8aaccb
Restore .progress-bar transition (#24694)
mdo Nov 6, 2017
bb53b32
fixes #24553: override border-color on focus of custom select with fo…
mdo Nov 6, 2017
1524837
getting-started.md: Redirect from `/getting-started/` too. (#24669)
XhmikosR Nov 6, 2017
ff4f5d4
dist
mdo Nov 6, 2017
e2c15da
Move hardcoded opacity value in `.btn:disabled` to variable `$btn-dis…
pat270 Nov 6, 2017
c2a7a2c
Nav Tabs use single variable to style `$nav-tabs-link-hover-border-co…
pat270 Nov 6, 2017
807adbb
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
mdo Nov 6, 2017
20b2e67
dist
mdo Nov 6, 2017
09ae92a
descriptive docs variable naming (#24521)
m5o Nov 6, 2017
de754fd
fixes #24642
mdo Nov 6, 2017
ccc95d0
Reduce custom file z-index (#24633)
ysds Nov 6, 2017
b942dac
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
mdo Nov 7, 2017
b42a38b
dist
mdo Nov 7, 2017
26dc17b
Popover - call `content` once if it's a function. (#24690)
Johann-S Nov 7, 2017
79d6b57
Escape ID in Util.getSelectorFromElement (#24700)
Johann-S Nov 7, 2017
fc9967e
Fix test failure with jQuery 1.9.1 (#24706)
XhmikosR Nov 7, 2017
83fd91c
Update to babel beta 5
Johann-S Nov 5, 2017
4bacf8d
Update devDependencies.
XhmikosR Nov 7, 2017
9deb1c6
Use correct jQuery name in docs (#24712)
vsn4ik Nov 7, 2017
9c213b7
upgrade to node 8.9.x and dist
mdo Nov 8, 2017
b755883
Adds underline back to `btn-link` on focus
andresgalante Nov 8, 2017
75bdc6d
Update devDependencies (#24722)
Johann-S Nov 9, 2017
5a2d6c7
Use native pseudo-selectors instead of jQuery selectors (#24713)
vsn4ik Nov 9, 2017
031695e
Add missing `role="button"` in collapse examples. (#24725)
pat270 Nov 9, 2017
9e8a3c0
Make styling of grouped option buttons class-based
Nov 9, 2017
3a060bc
Merge branch 'v4-dev' into btn-group-styling
picapixa Nov 9, 2017
b00ea05
Update gems. (#24732)
XhmikosR Nov 9, 2017
c7a2689
fix typo grid.md (#24757)
gijsbotje Nov 11, 2017
0924928
Update Hound config.
XhmikosR Oct 12, 2017
f251e72
Remove .hound.yml.
XhmikosR Nov 11, 2017
1354a92
Update devDependencies. (#24762)
XhmikosR Nov 13, 2017
9a0bba9
Object spread : less jQuery more ES6 (#24665)
Johann-S Nov 13, 2017
1ee9cb0
Adds variables for form validation messages (#24767)
andresgalante Nov 15, 2017
c81ce9f
Removed .col-form-label from vertical form example (#24771)
Nov 15, 2017
2cafb9f
Simplify spread (#24774)
vsn4ik Nov 15, 2017
ffc5965
Correct spelling mistakes. (#24778)
EdwardBetts Nov 15, 2017
7fd2650
Use UMD and fix build to properly load deps (#24783)
FezVrasta Nov 15, 2017
7f74601
Remove the now unused .houndignore file. (#24776)
XhmikosR Nov 15, 2017
615c995
Fix installing deps in our webpack docs
Johann-S Nov 16, 2017
8e4ba11
Fix nested cards on card group (#24766)
andresgalante Nov 16, 2017
0ff7231
Update popper.js to v1.12.9. (#24797)
XhmikosR Nov 16, 2017
81cf6c4
Don't run postcss for `dist/css/*.min.css` files. (#24676)
XhmikosR Nov 16, 2017
8df34b0
Change the text color to dark on bg color warning examples (#24805)
andresgalante Nov 17, 2017
e29398e
Remove unused file and bundle ie-emulation-modes-warning.js with docs…
XhmikosR Nov 19, 2017
1449ec0
Typos in grid.md (#24828)
Rychu-Pawel Nov 19, 2017
eeb3ce0
Fix dropup example code
ysds Nov 20, 2017
0f17d53
Update devDependencies. (#24829)
XhmikosR Nov 20, 2017
dcb7613
Add support for fractional viewport widths (zoom/high-dpi displays) (…
patrickhlauke Nov 20, 2017
cdab56d
Add a simple script to generate SRI hashes for our assets. (#24814)
XhmikosR Nov 23, 2017
e8ba371
Allow us to run our unit test on differents jquery version
Johann-S Nov 10, 2017
68ca294
Run karma tests in parallel.
XhmikosR Nov 17, 2017
3506ae9
Update typography docs (#24863)
ysds Nov 24, 2017
fff0116
closes #24450
mdo Nov 24, 2017
4829350
Rewrite custom form check backgrounds (#24697)
mdo Nov 24, 2017
b29e3f2
lets the centered modal have any height (#24803)
andresgalante Nov 24, 2017
2ec1606
Custom select updates (#24699)
mdo Nov 24, 2017
3de4628
Update package.json. (#24582)
XhmikosR Nov 25, 2017
02e4f6e
Use Jekyll's `smartify` filter when possible. (#24866)
XhmikosR Nov 25, 2017
7c10068
Darken outline hover color to match default button hover (#24150)
afholderman Nov 25, 2017
725f5fb
Merge branch 'btn-group-styling' of https://github.com/picapixa/boots…
mdo Nov 25, 2017
ccb201b
rename it
mdo Nov 25, 2017
79cfd56
document it
mdo Nov 25, 2017
643f548
add migration note
mdo Nov 25, 2017
babdf36
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
mdo Nov 25, 2017
8750952
fixes #24728
mdo Nov 25, 2017
544b3ee
Remove unused CSS. (#24872)
XhmikosR Nov 25, 2017
80d4a51
tab.js: do not remove fade class if there's no initial active pane
alekitto Nov 25, 2017
671bb27
Restore currently unused variables (#24891)
mdo Nov 27, 2017
7629567
Replace lint-vars.sh with a Node.js script. (#24860)
XhmikosR Nov 27, 2017
05d88ca
Fix docs horizontal scrollbar (#24878)
patrickhlauke Nov 27, 2017
6050d72
Combine path and remove variable used in one place. (#24873)
XhmikosR Nov 28, 2017
c2c0eeb
Update devDependencies and gems. (#24876)
XhmikosR Nov 28, 2017
a649c7f
Override padding on radio input label (#24899)
mdo Nov 29, 2017
a07bc5d
Update README.md (#24912)
Johann-S Nov 29, 2017
636dcf1
Work around Travis failures.
XhmikosR Nov 30, 2017
0230150
Revert the Travis workaround. (#24926)
XhmikosR Dec 1, 2017
1d6e371
Adds variable for color yiq threshold (#24886)
andresgalante Dec 2, 2017
9de141f
Remove .col-form-legend in favor of .col-form-label (#24932)
tmorehouse Dec 2, 2017
2a12115
Document breaking change from #24932
mdo Dec 2, 2017
3a0f8d7
Update devDependencies and gems. (#24940)
XhmikosR Dec 4, 2017
af34799
Remove page reload in pwa.js. (#24923)
XhmikosR Dec 5, 2017
9d373d7
Use only transitionend event (#24962)
kamlekar Dec 7, 2017
a2a4e63
Update link to Font Awesome
coliff Dec 8, 2017
a7e64c8
Specify host 0.0.0.0 for Jekyll (#24974)
patrickhlauke Dec 11, 2017
8839c03
dropdown: add boundary config option (#24976)
tmorehouse Dec 12, 2017
6f1e746
tooltip+popover: add boundary config option (#24979)
tmorehouse Dec 12, 2017
383221b
Link to BootstrapCDN and fix its name. (#24987)
XhmikosR Dec 16, 2017
eaaad95
dist
mdo Dec 17, 2017
5cede31
Update devDependencies and gems. (#25023)
XhmikosR Dec 22, 2017
1315087
Rewrite input group component (#25020)
mdo Dec 22, 2017
16f1417
Form check markup v2 (#25050)
mdo Dec 23, 2017
935d45f
dist
mdo Dec 23, 2017
e3aaadc
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
mdo Dec 23, 2017
e498714
dist
mdo Dec 23, 2017
0a42012
Restyle code element, remove docs example overflow, improve docs exam…
mdo Dec 23, 2017
b23bf85
Updated Quick Start Link (#25001)
JCA122204 Dec 23, 2017
5621c80
dist
mdo Dec 23, 2017
aacfcc2
adds hover state to the `button` element for background color utiliti…
andresgalante Dec 23, 2017
eb60521
Move .table-responsive to a parent class instead of a modifier
mdo Dec 23, 2017
ab18087
dist
mdo Dec 23, 2017
8b8999b
Update our browserslist. (#24919)
XhmikosR Dec 23, 2017
9600ab1
Fix tooltip/popover arrow size and position
simonihmig Dec 23, 2017
b3e9547
further clarify z-index docs, fix #24999
mdo Dec 23, 2017
853e5cb
change heading
mdo Dec 24, 2017
1fbf531
prefix those
mdo Dec 24, 2017
28b9b40
closes #24973
mdo Dec 24, 2017
c468f89
Make custom select and file inputs 100% wide
mdo Dec 23, 2017
73ca04d
space custom select sizing examples
mdo Dec 23, 2017
2416801
remove input group overrides since they're defaults now
mdo Dec 23, 2017
2435afe
Move from h4s and misc to h5s so headings from example snippets don't…
mdo Dec 25, 2017
4205b26
Update SCSS import order to have print styles last
mdo Dec 23, 2017
878e5c5
Closes #25039
mdo Dec 23, 2017
234a894
dist
mdo Dec 26, 2017
dd7a8be
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
mdo Dec 26, 2017
90d492b
dist
mdo Dec 26, 2017
03e1c47
Darken table border-color
mdo Dec 26, 2017
be6fbf5
dist
mdo Dec 26, 2017
8c6011a
Fix input group border radius issue (#25075) (#25076)
ysds Dec 26, 2017
c520927
Clean up button group (#25073)
ysds Dec 27, 2017
b01e81e
Rewrite custom file input
mdo Dec 24, 2017
6cf71f2
Merge branch 'fix-arrows' of https://github.com/simonihmig/bootstrap …
mdo Dec 27, 2017
acee8a0
remove broken static demo
mdo Dec 27, 2017
5721935
remove popover static example
mdo Dec 27, 2017
468c161
smaller popover arrows for more reasonable visuals and more ideal pix…
mdo Dec 27, 2017
fa2cc20
consolidate content properties, un-nest
mdo Dec 27, 2017
28fd9de
un-nest and un-chain popover classes
mdo Dec 27, 2017
d603239
linting
mdo Dec 27, 2017
6fd11a6
dist
mdo Dec 27, 2017
cf5e99e
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
mdo Dec 27, 2017
c8e581a
dist
mdo Dec 27, 2017
42e881f
improve docs tables
mdo Dec 27, 2017
26d7a93
closes #24929
mdo Dec 27, 2017
921c4cb
extra space
mdo Dec 27, 2017
8ae78b6
dist
mdo Dec 28, 2017
e3f9c46
Opinionated: reintroduce `cursor:pointer`
patrickhlauke Dec 25, 2017
c0129f8
dist
mdo Dec 28, 2017
97cfe5a
Only apply the active and focus shadow on the focus state for :active
mdo Dec 24, 2017
9023909
fix mixin include
mdo Dec 27, 2017
afc984d
line break
mdo Dec 28, 2017
1a4a94b
apply same active/focus shadow styling to button variants
mdo Dec 28, 2017
a5232ab
Set `cursor:pointer` for `<summary>`
andresgalante Dec 28, 2017
e0fe886
npm dist
mdo Dec 28, 2017
ced70da
Update version to 4.0.0-beta.3
mdo Dec 28, 2017
eaca6c0
Allow customizing Popover and Tooltip `font-size` outside of `$font-s…
pat270 Dec 18, 2017
d5cbe69
Allow customizing Popover and Tooltip `border-radius` while I'm at it
pat270 Dec 18, 2017
1171e17
Update JS-powered buttons docs to include single button example
mdo Dec 24, 2017
be3aa43
add note about single vs group
mdo Dec 24, 2017
a6ae1cc
Move alert theme-color() levels to variables
mdo Dec 24, 2017
ee83a96
linting
mdo Dec 27, 2017
0b77117
Add docs about active menu items (#24993)
ysds Dec 13, 2017
b97cb2a
Remove blank line
ysds Dec 13, 2017
57083c3
Expand border utilities to include top, right, bottom, left
mdo Dec 16, 2017
dd621e5
Improve lint vars output messaging (#25049)
mdo Dec 28, 2017
3e0dd5a
Add examples of disabled tooltip and popover triggers
mdo Dec 28, 2017
8ffbb74
Remove margin-bottom on .bd-example (#25048)
mdo Dec 28, 2017
625736b
Darken $gray-600 by 10% for AA contrast (#25123)
mdo Dec 29, 2017
84c8d5f
Wall of Browser Bugs: Chrome SVG perf bug (#24673) (#24751)
Herst Dec 30, 2017
16ee64b
Wall of Browser Bugs: position:sticky in Edge done (#25099)
Herst Dec 30, 2017
d62a6d3
Remove unnecessary `align-middle` class from Navbar docs (#25116)
andresgalante Dec 30, 2017
7adaa2f
Update Theming docs for removing map items (#25108)
mdo Dec 30, 2017
daf9d15
Include JavaScript map files in NuGet packages (#25080)
HamsterExAstris Dec 30, 2017
bcc6223
Updated docs for translating "Browse" text into other languages
albermav Dec 29, 2017
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
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
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
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
522b52d
Only 2-col on sm+
mdo Jan 15, 2018
2d981b2
Correct image dimensions
mdo Jan 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .babelrc.js
@@ -0,0 +1,16 @@
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)
};
13 changes: 6 additions & 7 deletions .editorconfig
Expand Up @@ -3,13 +3,12 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.py]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false
5 changes: 5 additions & 0 deletions .eslintignore
@@ -0,0 +1,5 @@
**/*.min.js
**/dist/
**/vendor/
/_gh_pages/
/package.js
235 changes: 235 additions & 0 deletions .eslintrc.json
@@ -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"
}
}
10 changes: 9 additions & 1 deletion .gitattributes
Expand Up @@ -3,6 +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.css linguist-vendored=false
bootstrap.js linguist-vendored=false