-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc4d7f0
commit 5632e96
Showing
18 changed files
with
887 additions
and
769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,40 @@ | ||
module.exports = { | ||
'env': { | ||
'browser' : true, | ||
'commonjs': true, | ||
'es6' : true, | ||
'node' : true | ||
}, | ||
'extends': [ | ||
'eslint:recommended' | ||
], | ||
'ignorePatterns': [ | ||
'dist' | ||
], | ||
'parserOptions': { | ||
'ecmaVersion': 2022, | ||
'sourceType' : 'module' | ||
}, | ||
'plugins': [ | ||
], | ||
'rules': { | ||
'array-bracket-spacing' : ['error', 'never'], | ||
'array-callback-return' : ['error'], | ||
'block-scoped-var' : ['error'], | ||
'block-spacing' : ['error', 'always'], | ||
'curly' : ['error'], | ||
'dot-notation' : ['error'], | ||
'eqeqeq' : ['error'], | ||
'indent' : ['error', 4], | ||
'no-console' : ['warn'], | ||
'no-floating-decimal' : ['error'], | ||
'no-implicit-coercion' : ['error'], | ||
'no-implicit-globals' : ['error'], | ||
'no-loop-func' : ['error'], | ||
'no-return-assign' : ['error'], | ||
'no-template-curly-in-string': ['error'], | ||
'no-unneeded-ternary' : ['error'], | ||
'no-unused-vars' : ['error', { 'args': 'none' }], | ||
'no-useless-computed-key' : ['error'], | ||
'no-useless-return' : ['error'], | ||
'no-var' : ['error'], | ||
'prefer-const' : ['error'], | ||
'quotes' : ['error', 'single'], | ||
'semi' : ['error', 'always'] | ||
} | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es6: true, | ||
node: true | ||
}, | ||
extends: ['eslint:recommended', 'prettier'], | ||
ignorePatterns: ['dist'], | ||
parserOptions: { | ||
ecmaVersion: 2022, | ||
sourceType: 'module' | ||
}, | ||
plugins: [], | ||
rules: { | ||
'array-bracket-spacing': ['error', 'never'], | ||
'array-callback-return': ['error'], | ||
'block-scoped-var': ['error'], | ||
'block-spacing': ['error', 'always'], | ||
curly: ['error'], | ||
'dot-notation': ['error'], | ||
eqeqeq: ['error'], | ||
// 'indent': ['error', 4], | ||
'no-console': ['warn'], | ||
'no-floating-decimal': ['error'], | ||
'no-implicit-coercion': ['error'], | ||
'no-implicit-globals': ['error'], | ||
'no-loop-func': ['error'], | ||
'no-return-assign': ['error'], | ||
'no-template-curly-in-string': ['error'], | ||
'no-unneeded-ternary': ['error'], | ||
'no-unused-vars': ['error', { args: 'none' }], | ||
'no-useless-computed-key': ['error'], | ||
'no-useless-return': ['error'], | ||
'no-var': ['error'], | ||
'prefer-const': ['error'], | ||
quotes: ['error', 'single'], | ||
semi: ['error', 'always'] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"default": true, | ||
"MD001": false, | ||
"MD004": { "style": "consistent" }, | ||
"MD013": false, | ||
"MD023": false, | ||
"MD024": false, | ||
"MD033": false, | ||
"MD036": false | ||
"default": true, | ||
"MD001": false, | ||
"MD004": { "style": "consistent" }, | ||
"MD013": false, | ||
"MD023": false, | ||
"MD024": false, | ||
"MD033": false, | ||
"MD036": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"arrowParens": "avoid", | ||
"singleQuote": true, | ||
"trailingComma": "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Codacy", | ||
"jhildenbiddle", | ||
"themeable" | ||
] | ||
} | ||
"cSpell.words": ["Codacy", "jhildenbiddle", "themeable"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,61 @@ | ||
/* Required for browsers w/o shadow DOM support */ | ||
iframe[src*="buttons.github.io"] { | ||
margin: 0; | ||
iframe[src*='buttons.github.io'] { | ||
margin: 0; | ||
} | ||
|
||
.markdown-section strong code { | ||
font-weight: normal; | ||
font-weight: normal; | ||
} | ||
|
||
/* Theme Toggles */ | ||
label[data-class-target="label + .docsify-tabs"] { | ||
margin-right: 0.8em; | ||
label[data-class-target='label + .docsify-tabs'] { | ||
margin-right: 0.8em; | ||
} | ||
|
||
|
||
/* Custom Styles */ | ||
/* ========================================================================== */ | ||
/* Badges */ | ||
.tab-badge, | ||
[data-tab="badge"]:after { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
transform: translate(35%, -45%); | ||
padding: 0.25em 0.35em; | ||
border-radius: 3px; | ||
background: red; | ||
color: white; | ||
font-family: sans-serif; | ||
font-size: 11px; | ||
font-weight: bold; | ||
[data-tab='badge']:after { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
transform: translate(35%, -45%); | ||
padding: 0.25em 0.35em; | ||
border-radius: 3px; | ||
background: red; | ||
color: white; | ||
font-family: sans-serif; | ||
font-size: 11px; | ||
font-weight: bold; | ||
} | ||
|
||
[data-tab="badge"]:after { | ||
content: 'New!'; | ||
[data-tab='badge']:after { | ||
content: 'New!'; | ||
} | ||
|
||
/* Active State */ | ||
.docsify-tabs__tab--active[data-tab="active state"] { | ||
box-shadow: none; | ||
background: #13547a; | ||
color: white; | ||
.docsify-tabs__tab--active[data-tab='active state'] { | ||
box-shadow: none; | ||
background: #13547a; | ||
color: white; | ||
} | ||
.docsify-tabs__content[data-tab-content="active state"] { | ||
background-image: linear-gradient(0deg, #80d0c7 0%, #13547a 100%); | ||
.docsify-tabs__content[data-tab-content='active state'] { | ||
background-image: linear-gradient(0deg, #80d0c7 0%, #13547a 100%); | ||
} | ||
.docsify-tabs__content[data-tab-content="active state"] p strong { | ||
color: white; | ||
.docsify-tabs__content[data-tab-content='active state'] p strong { | ||
color: white; | ||
} | ||
|
||
/* CodePen */ | ||
[data-tab-content="codepen"] .cp_embed_wrapper { | ||
position: relative; | ||
top: calc(0px - var(--docsifytabs-content-padding)); | ||
left: calc(0px - var(--docsifytabs-content-padding)); | ||
width: calc(100% + calc(var(--docsifytabs-content-padding) * 2)); | ||
margin-bottom: calc(0px - var(--docsifytabs-content-padding)); | ||
[data-tab-content='codepen'] .cp_embed_wrapper { | ||
position: relative; | ||
top: calc(0px - var(--docsifytabs-content-padding)); | ||
left: calc(0px - var(--docsifytabs-content-padding)); | ||
width: calc(100% + calc(var(--docsifytabs-content-padding) * 2)); | ||
margin-bottom: calc(0px - var(--docsifytabs-content-padding)); | ||
} | ||
|
||
[data-tab-content="codepen"] .cp_embed_wrapper > * { | ||
margin: 0; | ||
[data-tab-content='codepen'] .cp_embed_wrapper > * { | ||
margin: 0; | ||
} |
Oops, something went wrong.