Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlangelaan committed Oct 16, 2023
0 parents commit 57e089b
Show file tree
Hide file tree
Showing 16 changed files with 4,967 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Stop the editor from looking for .editorconfig files in the parent directories
root = true

[*]
charset = utf-8
insert_final_newline = true
end_of_line = lf
indent_style = tab
indent_size = 2
max_line_length = 80
20 changes: 20 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build, lint and publish to NPM

on: "push"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run vscode-patch
- run: npm run build
- run: npm run test
- run: npm run lint
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
/vscode
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "vscode"]
path = vscode
url = https://github.com/microsoft/vscode
shallow = true
1 change: 1 addition & 0 deletions .prettierignore
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"eslint.experimental.useFlatConfig": true,
"eslint.format.enable": true,
"editor.rulers": [80],
"editor.tabSize": 2
}
5 changes: 5 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// @ts-expect-error - This does not work because of the node resultion.
import styleguideConfig from "@popup-io/styleguide-config/eslint-config";

// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
export default [...styleguideConfig];
Loading

0 comments on commit 57e089b

Please sign in to comment.