Skip to content

Commit ad1f327

Browse files
committed
Clone dev.to
0 parents  commit ad1f327

File tree

1,887 files changed

+140560
-0
lines changed

Some content is hidden

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

1,887 files changed

+140560
-0
lines changed

.babelrc

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"presets": [
3+
["env", { "modules": false, "targets": { "browsers": "> 1%", "uglify": true }, "useBuiltIns": true }],
4+
"preact",
5+
],
6+
7+
"env": {
8+
"test": {
9+
"plugins": [
10+
"transform-es2015-modules-commonjs",
11+
]
12+
}
13+
},
14+
15+
"plugins": [
16+
"syntax-dynamic-import",
17+
"transform-object-rest-spread",
18+
["transform-class-properties", { "spec": true }],
19+
[ "transform-react-jsx", { "pragma": "h" }]
20+
]
21+
}

.codeclimate.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: "2"
2+
plugins:
3+
rubocop:
4+
enabled: true
5+
channel: rubocop-0-63
6+
brakeman:
7+
enabled: true
8+
eslint:
9+
enabled: true
10+
channel: "eslint-5"
11+
exclude_patterns:
12+
- "config/"
13+
- "db/"
14+
- "dist/"
15+
- "features/"
16+
- "node_modules/"
17+
- "script/"
18+
- "spec/"
19+
- "test/"
20+
- "tests/"
21+
- "vendor/"
22+
- "lib/tasks/"
23+
- "app/assets/javascripts/lib/"
24+
- "bin/"
25+
- "**/__tests__/"
26+
- "**/.eslintrc.js"
27+
- "*.js"

.dockerignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.dockerignore
2+
.git
3+
logs/
4+
tmp/
5+
node_modules/

.editorconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true

.erb-lint.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
linters:
2+
SelfClosingTag:
3+
enabled: false
4+
ParserErrors:
5+
exclude:
6+
- '**/app/views/pages/_editor_guide_text.html.erb'
7+
SpaceInHtmlTag:
8+
exclude:
9+
- '**/app/views/pages/_editor_guide_text.html.erb'
10+
AllowedScriptType:
11+
enabled: true
12+
allowed_types:
13+
- 'text/javascript'
14+
- 'text/x-tmpl'
15+
allow_blank: true
16+
disallow_inline_scripts: false
17+
Rubocop:
18+
enabled: true
19+
rubocop_config:
20+
inherit_from:
21+
- .rubocop.yml
22+
Layout/TrailingBlankLines:
23+
Enabled: false
24+
Lint/UselessAssignment:
25+
Enabled: false
26+
Metrics/LineLength:
27+
Max: 289

.gitdocs.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/*
2+
* This file is created so that it's possible to
3+
* Run `gitdocs serve` from root
4+
*/
5+
6+
var config = require('./docs/.gitdocs.json');
7+
8+
module.exports = new Promise((resolve, reject) => {
9+
config.root = 'docs/';
10+
resolve(config);
11+
});

.github/ISSUE_TEMPLATE/bug_report.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
<!-- Before creating a bug report, try disabling browser extensions to see if the bug is still present. -->
7+
8+
<!-- If you're having trouble updating your profile, it is likely because you logged in separately with GitHub & Twitter. Please check if this is the case before creating a bug report, and email [email protected] so we can merge your accounts. -->
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
16+
1. Go to '...'
17+
2. Click on '....'
18+
3. Scroll down to '....'
19+
4. See error
20+
21+
**Expected behavior**
22+
A clear and concise description of what you expected to happen.
23+
24+
**Screenshots**
25+
If applicable, add screenshots to help explain your problem.
26+
27+
**Desktop (please complete the following information):**
28+
29+
- OS: [e.g. iOS]
30+
- Browser [e.g. chrome, safari]
31+
- Version [e.g. 22]
32+
33+
**Smartphone (please complete the following information):**
34+
35+
- Device: [e.g. iPhone6]
36+
- OS: [e.g. iOS8.1]
37+
- Browser [e.g. stock browser, safari]
38+
- Version [e.g. 22]
39+
40+
**Additional context**
41+
Add any other context about the problem or helpful links here.
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
**Is your feature request related to a problem? Please describe.**
7+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
8+
9+
**Describe the solution you'd like**
10+
A clear and concise description of what you want to happen.
11+
12+
**Describe alternatives you've considered**
13+
A clear and concise description of any alternative solutions or features you've considered.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!--- Prepend PR title with [WIP] if work in progress. Remove when ready for review. -->
2+
3+
## What type of PR is this? (check all applicable)
4+
5+
- [ ] Refactor
6+
- [ ] Feature
7+
- [ ] Bug Fix
8+
- [ ] Documentation Update
9+
10+
## Description
11+
12+
## Related Tickets & Documents
13+
14+
## Mobile & Desktop Screenshots/Recordings (if there are UI changes)
15+
16+
## Added to documentation?
17+
18+
- [ ] docs.dev.to
19+
- [ ] readme
20+
- [ ] no documentation needed
21+
22+
## [optional] What gif best describes this PR or how it makes you feel?
23+
24+
![alt_text](gif_link)

.github/stale.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 90
5+
6+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 14
9+
10+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
11+
exemptLabels:
12+
13+
# Set to true to ignore issues in a project (defaults to false)
14+
exemptProjects: false
15+
16+
# Set to true to ignore issues in a milestone (defaults to false)
17+
exemptMilestones: true
18+
19+
# Label to use when marking as stale
20+
staleLabel: stale
21+
22+
# Comment to post when marking as stale. Set to `false` to disable
23+
markComment: >
24+
Thanks for contributing to this issue. As it has been 90 days since the last activity,
25+
we are automatically closing the issue in 7 days. This is often because the request was
26+
already solved in some way and it just wasn't updated or it's no longer applicable. If
27+
this issue still requires attention, please respond with a comment. Happy Coding!
28+
29+
# Comment to post when removing the stale label.
30+
# unmarkComment: >
31+
# Your comment here.
32+
33+
# Comment to post when closing a stale Issue or Pull Request.
34+
# closeComment: >
35+
# Your comment here.
36+
37+
# Limit the number of actions per hour, from 1-30. Default is 30
38+
limitPerRun: 30
39+
40+
# Limit to only `issues` or `pulls`
41+
# only: issues
42+
43+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
44+
# pulls:
45+
# daysUntilStale: 30
46+
# markComment: >
47+
# This pull request has been automatically marked as stale because it has not had
48+
# recent activity. It will be closed if no further activity occurs. Thank you
49+
# for your contributions.
50+
51+
# issues:
52+
# exemptLabels:
53+
# - confirmed

.github/weekly-digest.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
publishDay: mon
2+
canPublishIssues: true
3+
canPublishPullRequests: true
4+
canPublishContributors: true
5+
canPublishStargazers: true
6+
canPublishCommits: true

.gitignore

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
vendor/bundle
10+
11+
# Ignore all logfiles and tempfiles.
12+
/log/*
13+
!/log/.keep
14+
/tmp
15+
.DS_Store
16+
.swp
17+
.approvals
18+
.torus.json
19+
coverage
20+
/tags
21+
22+
# Ignore public uploads
23+
/public/uploads/*
24+
/public/c/*
25+
/public/i/*
26+
/public/assets/*
27+
28+
# Ignore node_modules
29+
node_modules/
30+
31+
# Generated js bundles
32+
/app/assets/javascripts/generated/*
33+
latest.dump
34+
.byebug_history
35+
.gitdocs_build/
36+
37+
# Ignore application configuration
38+
/config/application.yml
39+
/public/packs
40+
/public/packs-test
41+
/node_modules
42+
config/database.yml
43+
44+
# Ignore storybook static site generation
45+
storybook-static/
46+
yarn-error.log
47+
48+
# Ignore package-lock.json because we use yarn
49+
package-lock.json
50+
51+
#Jetbrains Tools
52+
.idea/
53+
54+
#sitemap
55+
/public/sitemap.xml.gz

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/dubnium

.postcssrc.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
plugins:
2+
postcss-smart-import: {}
3+
postcss-cssnext: {}

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package.json
2+
package-lock.json

.rspec

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--color
2+
--require spec_helper

0 commit comments

Comments
 (0)