Skip to content

Commit

Permalink
Use export type * (#32)
Browse files Browse the repository at this point in the history
* Use `export type *`

* Drop older node versions
  • Loading branch information
jridgewell committed Jan 12, 2024
1 parent 503c160 commit d04e7fe
Show file tree
Hide file tree
Showing 8 changed files with 1,411 additions and 1,474 deletions.
7 changes: 1 addition & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@ module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'no-only-tests'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-duplicate-imports': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
latest-node-version: [16.x]
node-version: [12.x, 14.x, 16.x]
node-version: [16.x]

steps:
- uses: actions/checkout@v1
Expand Down
5 changes: 1 addition & 4 deletions ava.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ export default {
extensions: {
ts: 'module',
},
nodeArguments: [
'--no-warnings',
'--loader=tsx',
],
nodeArguments: ['--no-warnings', '--loader=tsx'],
files: ['test/**/*.test.ts'],
};

0 comments on commit d04e7fe

Please sign in to comment.