Skip to content
Draft
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
20 changes: 10 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
56 changes: 28 additions & 28 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "eslint-comments"],
"ignorePatterns": ["node_modules", "dist", "dev", "tsup.config.ts"],
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": ".",
"sourceType": "module"
},
"rules": {
"prefer-const": "warn",
"no-console": "warn",
"no-debugger": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-unnecessary-type-assertion": "warn",
"@typescript-eslint/no-unnecessary-condition": "warn",
"@typescript-eslint/no-useless-empty-export": "warn",
"eslint-comments/no-unused-disable": "warn"
}
}
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "eslint-comments"],
"ignorePatterns": ["node_modules", "dist", "dev", "tsup.config.ts"],
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": ".",
"sourceType": "module"
},
"rules": {
"prefer-const": "warn",
"no-console": "warn",
"no-debugger": "warn",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-unnecessary-type-assertion": "warn",
"@typescript-eslint/no-unnecessary-condition": "warn",
"@typescript-eslint/no-useless-empty-export": "warn",
"eslint-comments/no-unused-disable": "warn"
}
}
62 changes: 31 additions & 31 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: "🐛 Bug report"
description: Create a report to help us improve
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue :pray:.

The more information you fill in, the better the community can help you.
- type: textarea
id: description
attributes:
label: Describe the bug
description: Provide a clear and concise description of the challenge you are running into.
validations:
required: true
- type: input
id: link
attributes:
label: Minimal Reproduction Link
description: |
Please provide a link to a minimal reproduction of the bug you are running into.
It makes the process of verifying and fixing the bug much easier.
Note:
- Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the solid-js and solid-primitives.
- To create a shareable code example you can use [Stackblitz](https://stackblitz.com/) (https://solid.new). Please no localhost URLs.
- Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve.
placeholder: |
e.g. https://stackblitz.com/edit/...... OR Github Repo
validations:
required: true
name: "🐛 Bug report"
description: Create a report to help us improve
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue :pray:.
The more information you fill in, the better the community can help you.
- type: textarea
id: description
attributes:
label: Describe the bug
description: Provide a clear and concise description of the challenge you are running into.
validations:
required: true
- type: input
id: link
attributes:
label: Minimal Reproduction Link
description: |
Please provide a link to a minimal reproduction of the bug you are running into.
It makes the process of verifying and fixing the bug much easier.
Note:
- Your bug will may get fixed much faster if we can run your code and it doesn't have dependencies other than the solid-js and solid-primitives.
- To create a shareable code example you can use [Stackblitz](https://stackblitz.com/) (https://solid.new). Please no localhost URLs.
- Please read these tips for providing a minimal example: https://stackoverflow.com/help/mcve.
placeholder: |
e.g. https://stackblitz.com/edit/...... OR Github Repo
validations:
required: true
54 changes: 27 additions & 27 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: "Feature Request"
description: For feature/enhancement requests. Please search for existing issues first.
body:
- type: markdown
attributes:
value: |
Thank you for bringing your ideas here :pray:.

The more information you fill in, the better the community can understand your idea.
- type: textarea
id: problem
attributes:
label: Describe The Problem To Be Solved
description: Provide a clear and concise description of the challenge you are running into.
validations:
required: true
- type: textarea
id: solution
attributes:
label: Suggest A Solution
description: |
A concise description of your preferred solution. Things to address include:
- Details of the technical implementation
- Tradeoffs made in design decisions
- Caveats and considerations for the future
validations:
required: true
name: "Feature Request"
description: For feature/enhancement requests. Please search for existing issues first.
body:
- type: markdown
attributes:
value: |
Thank you for bringing your ideas here :pray:.
The more information you fill in, the better the community can understand your idea.
- type: textarea
id: problem
attributes:
label: Describe The Problem To Be Solved
description: Provide a clear and concise description of the challenge you are running into.
validations:
required: true
- type: textarea
id: solution
attributes:
label: Suggest A Solution
description: |
A concise description of your preferred solution. Things to address include:
- Details of the technical implementation
- Tradeoffs made in design decisions
- Caveats and considerations for the future
validations:
required: true
92 changes: 46 additions & 46 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
name: "CodeQL"

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "30 1 * * 0"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
with:
upload: false
output: sarif-results

# Only include files that are public
- name: filter-sarif
uses: advanced-security/filter-sarif@main
with:
patterns: |
/src/**/*.*
-**/*.test.*
input: sarif-results/javascript.sarif
output: sarif-results/javascript.sarif

- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: sarif-results/javascript.sarif
name: "CodeQL"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "30 1 * * 0"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
with:
upload: false
output: sarif-results
# Only include files that are public
- name: filter-sarif
uses: advanced-security/filter-sarif@main
with:
patterns: |
/src/**/*.*
-**/*.test.*
input: sarif-results/javascript.sarif
output: sarif-results/javascript.sarif
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: sarif-results/javascript.sarif
74 changes: 37 additions & 37 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: Format

on:
push:
branches: [main]

jobs:
format:
runs-on: ubuntu-latest

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18

# "git restore ." discards changes to package-lock.json
- name: Install dependencies
run: |
pnpm install --no-frozen-lockfile --ignore-scripts
git restore .

- name: Format
run: pnpm run format

- name: Add, Commit and Push
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Format'
name: Format
on:
push:
branches: [main]
jobs:
format:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.4
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
# "git restore ." discards changes to package-lock.json
- name: Install dependencies
run: |
pnpm install --no-frozen-lockfile --ignore-scripts
git restore .
- name: Format
run: pnpm run format
- name: Add, Commit and Push
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Format'
Loading