-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from dbos-inc/chuck/more_rules_defaults
bcrypt, readme, GH workflow
- Loading branch information
Showing
7 changed files
with
136 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: On Pull Request | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- release/* | ||
types: | ||
- ready_for_review | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/test.yml | ||
# artifact: | ||
# needs: test | ||
# uses: ./.github/workflows/artifact.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: On Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- release/* | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/test.yml | ||
# artifact: | ||
# needs: test | ||
# permissions: | ||
# contents: read | ||
# packages: write | ||
# uses: ./.github/workflows/artifact.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Test DBOS eslint plugin | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js 18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Compile and Test | ||
working-directory: ./ | ||
run: | | ||
npm install | ||
npm test | ||
env: | ||
NPM_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
SILENCE_LOGS: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
# eslint-plugin | ||
# DBOS eslint plugin | ||
eslint plugin for DBOS sdk | ||
|
||
The [DBOS SDK](https://github.com/dbos-inc/dbos-ts) (from [DBOS, Inc.](https://dbos.dev)) is a **Typescript framework built on the database** that helps you develop transactional backend applications. | ||
|
||
This [eslint](https://eslint.org) plugin assists in the following aspects of coding: | ||
- Correct use of the DBOS SDK | ||
- Conformance to TypeScript best practices | ||
- Identification of code that may contain security vulnerabilities | ||
- | ||
|
||
## Getting Started | ||
|
||
The fastest way to get started with DBOS is by following the [quickstart](https://docs.dbos.dev/getting-started/quickstart), where you'll learn how to get a backend running in less than five minutes. | ||
|
||
The tutorial and examples include setup of `eslint` with this plugin. | ||
|
||
## Additional Documentation | ||
|
||
You can find our full documentation at [https://docs.dbos.dev/](https://docs.dbos.dev/). | ||
|
||
Check out our [Getting Started](https://docs.dbos.dev/category/getting-started) for an overview of how to build an application. | ||
|
||
## Community | ||
|
||
Please join our community on [Discord](https://discord.gg/fMwQjeW5zg)! If you see a bug or have a feature request, don't hesitate to open an issue here on GitHub. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters