Skip to content

Commit 210e754

Browse files
committed
First commit
0 parents  commit 210e754

Some content is hidden

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

54 files changed

+1716
-0
lines changed

.all-contributorsrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"files": [
3+
"README.md"
4+
],
5+
"imageSize": 100,
6+
"commit": false,
7+
"contributors": [
8+
{
9+
"login": "thedaviddias",
10+
"name": "David Dias",
11+
"avatar_url": "https://avatars.githubusercontent.com/u/237229?v=4",
12+
"profile": "https://thedaviddias.dev",
13+
"contributions": [
14+
"code",
15+
"doc",
16+
"infra",
17+
"test"
18+
]
19+
}
20+
],
21+
"contributorsPerLine": 7,
22+
"projectName": "gatsby-source-notion-articles",
23+
"projectOwner": "thedaviddias",
24+
"repoType": "github",
25+
"repoHost": "https://github.com",
26+
"skipCi": true
27+
}

.babelrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"presets": [
3+
"babel-preset-gatsby-package",
4+
"@babel/preset-typescript"
5+
],
6+
"plugins": [
7+
[
8+
"babel-plugin-module-resolver",
9+
{
10+
"alias": {
11+
"~": "./src"
12+
}
13+
}
14+
]
15+
]
16+
}

.codecov.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
codecov:
2+
require_ci_to_pass: yes
3+
4+
coverage:
5+
range: 70..100
6+
round: down
7+
precision: 2
8+
status:
9+
project:
10+
default:
11+
target: 70%
12+
threshold: 5%
13+
branches:
14+
- main
15+
patch: off
16+
17+
comment:
18+
layout: 'reach, diff, files'

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
# Apply for all files
8+
[*]
9+
10+
charset = utf-8
11+
12+
indent_style = space
13+
indent_size = 2
14+
15+
end_of_line = lf
16+
insert_final_newline = true
17+
trim_trailing_whitespace = true
18+
19+
# Apply for markdown files
20+
[*.md]
21+
22+
max_line_length = off
23+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
node_modules
3+
dist
4+
build
5+
.quokka.js
6+
wallaby.js
7+
gatsby-node.js
8+
tsconfig.json

.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
root: true, // Make sure eslint picks up the config at the root of the directory
3+
parser: '@typescript-eslint/parser',
4+
parserOptions: {
5+
ecmaVersion: 2020, // Use the latest ecmascript standard
6+
sourceType: 'module', // Allows using import/export statements
7+
project: "./tsconfig.json"
8+
},
9+
env: {
10+
amd: true, // Enables require() and define() as global variables as per the amd spec.
11+
node: true, // Enables Node.js global variables and Node.js scoping.
12+
},
13+
plugins: ['@typescript-eslint', 'import', 'prettier'],
14+
extends: [
15+
'eslint:recommended',
16+
'plugin:@typescript-eslint/eslint-recommended',
17+
'plugin:@typescript-eslint/recommended',
18+
'plugin:prettier/recommended', // Make this the last element so prettier config overrides other formatting rules
19+
],
20+
rules: {
21+
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
22+
'@typescript-eslint/explicit-function-return-type': 'off',
23+
'@typescript-eslint/explicit-module-boundary-types': 'off'
24+
},
25+
}

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/.funding.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: thedaviddias
2+
open_collective: thedaviddias

.github/.stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Number of days of inactivity before an issue becomes stale
2+
daysUntilStale: 60
3+
# Number of days of inactivity before a stale issue is closed
4+
daysUntilClose: 7
5+
# Issues with these labels will never be considered stale
6+
exemptLabels:
7+
- pinned
8+
- security
9+
# Label to use when marking an issue as stale
10+
staleLabel: wontfix
11+
# Comment to post when marking an issue as stale. Set to `false` to disable
12+
markComment: >
13+
This issue has been automatically marked as stale because it has not had
14+
recent activity. It will be closed if no further activity occurs. Thank you
15+
for your contributions.
16+
# Comment to post when closing a stale issue. Set to `false` to disable
17+
closeComment: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Description
2+
3+
Provide a summary of what has been done or what this pull request does.
4+
5+
## Checklist
6+
7+
All checkboxes must be checked before this PR can be reviewed.
8+
9+
- [ ] Have you tested your feature/bug for responsive layout?
10+
- [ ] Have you tested your feature/bug in multiple browsers/devices via BrowserStack?
11+
- [ ] Has this PR been pulled and tested by someone other than yourself?
12+
13+
## Closes
14+
15+
<!-- List issues that should be closed after merge -->

0 commit comments

Comments
 (0)