Skip to content
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
41 changes: 40 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,51 @@
"quotes": ["error", "single"],
"semi": "off",
"object-curly-spacing": "off",
"object-curly-newline": "off",
"object-shorthand": "off",
"lines-between-class-members": "off",
"padded-blocks": "off",
"no-trailing-spaces": "off",
"eol-last": "off",
"array-bracket-spacing": "off",
"no-process-exit": "off",
"unicorn/no-process-exit": "off"
"operator-linebreak": "off",
"complexity": "off",
"max-depth": "off",
"function-call-argument-newline": "off",
"prefer-destructuring": "off",
"prefer-arrow-callback": "off",
"valid-jsdoc": "off",
"padding-line-between-statements": "off",
"n/no-process-exit": "off",
"import/namespace": "off",
"import/no-named-as-default-member": "off",
"unicorn/no-process-exit": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-optional-catch-binding": "off",
"unicorn/prefer-native-coercion-functions": "off",
"unicorn/prefer-at": "off",
"unicorn/prefer-number-properties": "off",
"unicorn/prefer-string-slice": "off",
"unicorn/prefer-string-replace-all": "off",
"unicorn/prefer-ternary": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/switch-case-braces": "off",
"unicorn/import-style": "off",
"unicorn/consistent-function-scoping": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-require-imports": "off",
"perfectionist/sort-imports": "off",
"perfectionist/sort-classes": "off",
"perfectionist/sort-objects": "off",
"perfectionist/sort-union-types": "off",
"perfectionist/sort-interfaces": "off",
"perfectionist/sort-named-imports": "off",
"perfectionist/sort-named-exports": "off",
"perfectionist/sort-object-types": "off"
}
}
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:

strategy:
matrix:
node-version: [14.x, 15.x]
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:
workflow_dispatch:

env:
node-version: 14
node-version: 20

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{env.node-version}}
- run: npm ci
Expand All @@ -28,8 +28,8 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{env.node-version}}
registry-url: https://npm.pkg.github.com/
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
/yarn.lock
node_modules
.idea/

tsconfig.tsbuildinfo
bin/
3 changes: 3 additions & 0 deletions .mocharc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require:
- ts-node/register
spec: "test/**/*.test.ts"
6 changes: 3 additions & 3 deletions bin/run
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node

require('@oclif/command').run()
.then(require('@oclif/command/flush'))
.catch(require('@oclif/errors/handle'))
const oclif = require('@oclif/core')

oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'))
Loading