Skip to content
Open
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
29 changes: 0 additions & 29 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [20.x, 24.x]
node-version: [24.x, 26.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18.x'
node-version: '24.x'
- run: npm ci
- run: |
git config user.name "GitHub Actions Bot"
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22
24
36 changes: 36 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import config from '@feathers-community/eslint-config'
import globals from 'globals'

export default config(
{},
{
ignores: ['**/lib/', '**/cjs/', 'website/']
},
{
rules: {
// `[].concat(x)` and `[...x]` behave differently when `x` is not an array
'e18e/prefer-spread-syntax': 'off',
// Feathers targets ES2020 (browsers, React Native)
'e18e/prefer-object-has-own': 'off',
'e18e/prefer-array-at': 'off',
'e18e/prefer-array-to-sorted': 'off',
'e18e/prefer-array-to-reversed': 'off'
}
},
{
files: ['**/*.test.ts'],
rules: {
'e18e/prefer-static-regex': 'off'
}
},
{
files: ['packages/*/bin/**/*.js'],
languageOptions: {
globals: globals.node
},
rules: {
// Bin scripts import the compiled `lib/` output which does not exist before compiling
'import-x/no-unresolved': 'off'
}
}
)
Loading
Loading