Skip to content

Commit 63dc244

Browse files
committed
Clone dbots website
1 parent edc8eda commit 63dc244

Some content is hidden

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

73 files changed

+26230
-2
lines changed

.browserslistrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> 1%
2+
last 2 versions

.eslintrc.js

+156
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
parserOptions: {
7+
parser: 'babel-eslint',
8+
},
9+
extends: [
10+
'plugin:vue/essential',
11+
'eslint:recommended',
12+
],
13+
rules: {
14+
// 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
15+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
16+
17+
'no-await-in-loop': 'warn',
18+
'no-compare-neg-zero': 'error',
19+
'no-extra-parens': ['warn', 'all', {
20+
nestedBinaryExpressions: false,
21+
}],
22+
'no-template-curly-in-string': 'error',
23+
'no-unsafe-negation': 'error',
24+
'valid-jsdoc': ['error', {
25+
requireReturn: false,
26+
requireReturnDescription: false,
27+
prefer: {
28+
return: 'returns',
29+
arg: 'param',
30+
},
31+
preferType: {
32+
String: 'string',
33+
Number: 'number',
34+
Boolean: 'boolean',
35+
Symbol: 'symbol',
36+
object: 'Object',
37+
function: 'Function',
38+
array: 'Array',
39+
date: 'Date',
40+
error: 'Error',
41+
null: 'void',
42+
},
43+
}],
44+
45+
'accessor-pairs': 'warn',
46+
'array-callback-return': 'error',
47+
complexity: 'warn',
48+
'consistent-return': 'error',
49+
curly: ['error', 'multi'],
50+
'dot-location': ['error', 'property'],
51+
'dot-notation': 'error',
52+
eqeqeq: 'error',
53+
'no-console': 'off',
54+
'no-empty-function': 'error',
55+
'no-floating-decimal': 'error',
56+
'no-implied-eval': 'error',
57+
'no-invalid-this': 'error',
58+
'no-lone-blocks': 'error',
59+
'no-multi-spaces': 'error',
60+
'no-new-func': 'error',
61+
'no-new-wrappers': 'error',
62+
'no-new': 'error',
63+
'no-octal-escape': 'error',
64+
'no-return-assign': 'error',
65+
'no-return-await': 'error',
66+
'no-self-compare': 'error',
67+
'no-sequences': 'error',
68+
'no-throw-literal': 'error',
69+
'no-unmodified-loop-condition': 'error',
70+
'no-unused-expressions': 'error',
71+
'no-useless-call': 'error',
72+
'no-useless-concat': 'error',
73+
'no-useless-escape': 'error',
74+
'no-useless-return': 'error',
75+
'no-void': 'error',
76+
'no-warning-comments': 'warn',
77+
'prefer-promise-reject-errors': 'error',
78+
'require-await': 'warn',
79+
'wrap-iife': 'error',
80+
yoda: 'error',
81+
82+
'no-label-var': 'error',
83+
'no-shadow': 'error',
84+
'no-undef-init': 'error',
85+
86+
'callback-return': 'error',
87+
'handle-callback-err': 'error',
88+
'no-mixed-requires': 'error',
89+
'no-new-require': 'error',
90+
'no-path-concat': 'error',
91+
92+
'array-bracket-spacing': 'error',
93+
'block-spacing': 'error',
94+
'brace-style': ['error', '1tbs', { allowSingleLine: true }],
95+
'capitalized-comments': ['error', 'always', { ignoreConsecutiveComments: true }],
96+
'comma-dangle': ['error', 'always-multiline'],
97+
'comma-spacing': 'error',
98+
'comma-style': 'error',
99+
'computed-property-spacing': 'error',
100+
'consistent-this': ['error', '$this'],
101+
'eol-last': 'error',
102+
'func-names': 'error',
103+
'func-name-matching': 'error',
104+
'func-style': ['error', 'declaration', { allowArrowFunctions: true }],
105+
indent: ['error', 2, { SwitchCase: 1 }],
106+
'key-spacing': 'error',
107+
'keyword-spacing': 'error',
108+
'max-depth': 'error',
109+
// 'max-len': ['error', 120, 2],
110+
'max-nested-callbacks': ['error', { max: 4 }],
111+
'max-statements-per-line': ['error', { max: 2 }],
112+
'new-cap': 'error',
113+
'newline-per-chained-call': ['error', { ignoreChainWithDepth: 3 }],
114+
'no-array-constructor': 'error',
115+
'no-inline-comments': 'error',
116+
'no-lonely-if': 'error',
117+
'no-mixed-operators': 'error',
118+
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 1, maxBOF: 0 }],
119+
'no-new-object': 'error',
120+
'no-spaced-func': 'error',
121+
'no-trailing-spaces': 'error',
122+
'no-unneeded-ternary': 'error',
123+
'no-whitespace-before-property': 'error',
124+
'object-curly-spacing': ['error', 'always'],
125+
'operator-assignment': 'error',
126+
'operator-linebreak': ['error', 'after'],
127+
'padded-blocks': ['error', 'never'],
128+
'quote-props': ['error', 'as-needed'],
129+
quotes: ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
130+
'semi-spacing': 'error',
131+
semi: 'error',
132+
'space-before-blocks': 'error',
133+
'space-before-function-paren': ['error', 'never'],
134+
'space-in-parens': 'error',
135+
'space-infix-ops': 'error',
136+
'space-unary-ops': 'error',
137+
'spaced-comment': 'error',
138+
'template-tag-spacing': 'error',
139+
'unicode-bom': 'error',
140+
141+
'arrow-body-style': 'error',
142+
'arrow-parens': ['error', 'as-needed'],
143+
'arrow-spacing': 'error',
144+
'no-duplicate-imports': 'error',
145+
'no-useless-computed-key': 'error',
146+
'no-useless-constructor': 'error',
147+
'prefer-arrow-callback': 'error',
148+
'prefer-numeric-literals': 'error',
149+
'prefer-rest-params': 'error',
150+
'prefer-spread': 'error',
151+
'prefer-template': 'error',
152+
'rest-spread-spacing': 'error',
153+
'template-curly-spacing': 'error',
154+
'yield-star-spacing': 'error',
155+
},
156+
};

.gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.DS_Store
2+
node_modules
3+
dist
4+
5+
# local env files
6+
.env.local
7+
.env.*.local
8+
9+
# Log files
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln
21+
*.sw?

.jshintrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"maxerr" : 100,
3+
"freeze" : false,
4+
"quotmark" : false,
5+
"strict" : false,
6+
"varstmt" : true,
7+
"eqnull" : true,
8+
"esversion" : 8,
9+
"multistr" : false,
10+
"shadow" : true,
11+
"browser" : false,
12+
"mocha" : false,
13+
"node" : true
14+
}

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Federico Grandi
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+35-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
1-
# dbothook-website
2-
Documentation website for the dbothook package.
1+
# dbots website
2+
3+
> The website housing documentation for dbots
4+
5+
## Website source
6+
7+
This website is forked from https://github.com/discordjs/website
8+
9+
## Project setup
10+
```
11+
yarn install
12+
```
13+
14+
### Compiles and hot-reloads for development
15+
```
16+
yarn run serve
17+
```
18+
19+
### Compiles and minifies for production
20+
```
21+
yarn run build
22+
```
23+
24+
### Run your tests
25+
```
26+
yarn run test
27+
```
28+
29+
### Lints and fixes files
30+
```
31+
yarn run lint
32+
```
33+
34+
### Customize configuration
35+
See [Configuration Reference](https://cli.vuejs.org/config/).

babel.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app',
4+
],
5+
};

0 commit comments

Comments
 (0)