Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linting and Formatting #133

Merged
merged 5 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 15 additions & 12 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
module.exports = {
sourceType: "unambiguous",
plugins: ["babel-plugin-add-module-exports"],
presets: [
['@babel/preset-env', {
loose: true,
modules: "auto",
"useBuiltIns": "entry", // to ensure regeneratorRuntime is defined; see bootstrap.js
"corejs": 3, // use w/ "useBuiltIns", defaults=2, must match what is in package.json
// "targets": "> 0.25%, not dead"
}],
'@babel/preset-typescript'
]
sourceType: 'unambiguous',
plugins: ['babel-plugin-add-module-exports'],
presets: [
[
'@babel/preset-env',
{
loose: true,
modules: 'auto',
useBuiltIns: 'entry', // to ensure regeneratorRuntime is defined; see bootstrap.js
corejs: 3, // use w/ "useBuiltIns", defaults=2, must match what is in package.json
// "targets": "> 0.25%, not dead"
},
],
'@babel/preset-typescript',
],
};
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_Issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,25 @@
labels: ""
assignees: ""
---

Thanks for reporting an issue!

### Steps to reproduce

Tell us how to reproduce this issue.

### Expected behaviour

Tell us what should happen

### Actual behaviour

Tell us what happens instead

### Any logs, error output, etc?

...

### Any other comments?

...
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-issue-config.json
blank_issues_enabled: true
contact_links:
- name: Issue Template

18 changes: 9 additions & 9 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
Problem
=======
# Problem

problem statement
Solution
========
What I/we did to solve this problem

with @pairperson1

Change summary:
---------------
* Tidy, well formulated commit message
* Another great commit message
* Something else I/we did
## Change summary:

- Tidy, well formulated commit message
- Another great commit message
- Something else I/we did

## Steps to Verify:

Steps to Verify:
----------------
1. A setup step / beginning state
1. What to do next
1. Any other instructions
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Tests CI
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ '**' ]
branches: ['**']
jobs:
test:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Publish NPM @next
on:
push:
branches: [ main ]
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Release Package
on:
release:
types: [ released ]
types: [released]
jobs:
publish-to-npm:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gen-nodejs/
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"useTabs": false,
"printWidth": 120
}
Loading