Skip to content

Commit

Permalink
Merge pull request #40 from localnerve/rc-0.11.3
Browse files Browse the repository at this point in the history
@0.11.3 - update devdeps, eslint 9+
  • Loading branch information
localnerve authored May 7, 2024
2 parents 06e9cff + 048d1b5 commit bebc571
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 150 deletions.
14 changes: 0 additions & 14 deletions .eslintrc.json

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
28 changes: 28 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import js from '@eslint/js';
import globals from 'globals';

export default [{
ignores: [
'node_modules/**',
'reports/**',
'tmp/**',
'tests/fixtures/**'
]
}, {
...js.configs.recommended,
languageOptions: {
globals: {
...globals.node
}
}
}, {
files: [
'tests/**'
],
...js.configs.recommended,
languageOptions: {
globals: {
...globals.mocha
}
}
}];
1 change: 0 additions & 1 deletion lib/picklr.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Recursive file, line picker and text replacer.
* Use to replace specific text across file types in a project.
*/
/* eslint-disable no-console */
import fs from 'fs';
import path from 'path';
import picklrActions from './actions.js';
Expand Down
Loading

0 comments on commit bebc571

Please sign in to comment.