Skip to content

Commit

Permalink
Rewrite library to pixijs-actions (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
reececomo authored Apr 21, 2024
1 parent aa1a752 commit 393b69d
Show file tree
Hide file tree
Showing 25 changed files with 12,293 additions and 2,028 deletions.
66 changes: 66 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"root": true,
"rules": {
"newline-before-return": 0,
"prefer-const": 0,
"no-fallthrough": 0,
"@typescript-eslint/no-duplicate-enum-values": 0,
"@typescript-eslint/no-inferrable-types": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/indent": 0,
"@typescript-eslint/no-extra-semi": 0,
"@typescript-eslint/explicit-member-accessibility": 1,
"no-trailing-spaces": "warn",
"@typescript-eslint/ban-types": "warn",
"max-len": [
"warn",
200
],
"brace-style": [
"warn",
"stroustrup"
],
"curly": "warn",
"semi": [
"warn",
"always"
],
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowExpressions": true
}
],
"@typescript-eslint/no-unused-vars": [
"warn",
{
"args": "none"
}
]
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/strict"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"eslint-plugin-disable-autofix"
]
}
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "lint"

on:
push:
branches: ["main"]
paths:
- "**/*.ts"
pull_request:
branches: ["main"]
paths:
- "**/*.ts"

jobs:
lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "test"

on:
push:
branches: ["main"]
paths:
- "**/*.js"
- "**/*.ts"
pull_request:
branches: ["*"]
paths:
- "**/*.js"
- "**/*.ts"

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test
409 changes: 304 additions & 105 deletions README.md

Large diffs are not rendered by default.

Loading

0 comments on commit 393b69d

Please sign in to comment.