Skip to content

Commit

Permalink
chore: update template config
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Sep 27, 2021
1 parent 848cd7d commit 8d63067
Show file tree
Hide file tree
Showing 10 changed files with 558 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
rules: {
"no-console": ["warn", { allow: ["info", "warn", "error"] }],
"no-debugger": "warn",
"no-undef": 0,
"no-undef": "off",
curly: "error",
"prefer-const": "error",
"padding-line-between-statements": [
Expand All @@ -39,5 +39,6 @@ module.exports = {
},
],
"@typescript-eslint/no-var-requires": "off",
"tsdoc/syntax": "warn",
},
};
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: 🚨 Bug report
about: Report a bug report to help us improve the package.
about: Report a bug report to help improve the package.
title: ""
labels: "bug"
assignees: ""
Expand All @@ -16,12 +16,13 @@ assignees: ""

### Versions

- package_name: <!-- ex: v0.1.0 -->
- @prismicio/react: <!-- ex: v0.1.0 -->
- react: <!-- ex: v17.0.0 -->
- node: <!-- ex: v12.14.0 -->

### Reproduction

<!-- Link to a minimal test case, without a reproduction, it is so hard to address problem :( -->
<!-- If possible link to a minimal test case, without a reproduction, it is so hard to address problems :( -->

<details open>
<summary>Additional Details</summary>
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: 👪 Prismic Community Forum
url: https://community.prismic.io
about: Ask questions about this package or raise issues directly related to Prismic. You will usually get support much quicker there!
about: Ask a question about the package or raise an issue directly related to Prismic. You will usually get support there more quickly!
8 changes: 4 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Chore (a non-breaking change which is related to package maintenance)
- [ ] Bug fix (a non-breaking change which fixes an issue)
- [ ] New feature (a non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Expand All @@ -17,11 +18,10 @@
## Checklist:

<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] My change requires an update to the official documentation.
- [ ] All [TSDoc](https://tsdoc.org) comments are up-to-date and new ones have been added where necessary.
- [ ] All new and existing tests are passing.

<!--- A cute animal picture is welcome to close your PR! -->
<!--- A cute animal (or car) picture is welcome to close your PR! -->
60 changes: 60 additions & 0 deletions .github/prismic-oss-ecosystem.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,39 @@
# .gitignore copy

# custom
dist

# os
.DS_Store
._*

# node
logs
*.log
node_modules

# yarn
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.yarn-integrity

# npm
npm-debug.log*
package-lock.json

# tests
coverage
.eslintcache
.nyc_output

# .env
.env
.env.test
.env*.local

# vscode
.vscode/*
!.vscode/tasks.json
!.vscode/launch.json
*.code-workspace
6 changes: 5 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"plugins": ["prettier-plugin-jsdoc"],
"jsdocSeparateReturnsFromParam": true,
"jsdocSingleLineComment": false,
"tsdoc": true,
"printWidth": 80,
"useTabs": true,
"semi": true,
Expand All @@ -7,7 +11,7 @@
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"bracketSameLine": false,
"arrowParens": "always",
"requirePragma": false,
"insertPragma": false,
Expand Down
Loading

0 comments on commit 8d63067

Please sign in to comment.