Skip to content

Commit

Permalink
Remove engines requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
stefcameron committed Jan 10, 2025
1 parent 6e71588 commit a129d0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 5 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

/* eslint-env node */

import url from 'node:url';
import path from 'node:path';
import js from '@eslint/js';
import globals from 'globals';
import babel from '@babel/eslint-plugin';
Expand All @@ -19,9 +21,11 @@ import react from 'eslint-plugin-react';
import reactHooks from 'eslint-plugin-react-hooks';
import testingLibrary from 'eslint-plugin-testing-library';

const __dirname = path.dirname(url.fileURLToPath(import.meta.url));

const ecmaVersion = 'latest';
const impliedStrict = true;
const tsconfigRootDir = import.meta.dirname;
const tsconfigRootDir = __dirname;

//
// Plugins
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "focus-trap-react",
"version": "11.0.2",
"description": "A React component that traps focus.",
"engines": {
"node": "^20.11.0 || >=21.2.0"
},
"main": "dist/focus-trap-react.js",
"types": "index.d.ts",
"files": [
Expand Down

0 comments on commit a129d0c

Please sign in to comment.