@odg/eslint-config 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -1
  2. package/index.mjs +3 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -549,7 +549,9 @@ npm install @odg/eslint-config
549
549
  yarn add -D @odg/eslint-config
550
550
  ```
551
551
 
552
- Create the `eslint.config.js` file in the root directory of your project.
552
+ Create the `eslint.config.mjs` file in the root directory of your project.
553
+
554
+ > Use .mjs file to avoid warn errors
553
555
 
554
556
  ```js
555
557
  import odgLinter from "@odg/eslint-config";
@@ -567,6 +569,9 @@ Add script in your `package.json` file
567
569
  "scripts": {
568
570
  "lint": "eslint",
569
571
  "lint:fix": "eslint --fix",
572
+ },
573
+ "engines": {
574
+ "node": ">=24"
570
575
  }
571
576
  }
572
577
  ```
package/index.mjs CHANGED
@@ -128,6 +128,9 @@ export default [
128
128
  hideFileName: false, // Use this to hide the file name, would simply show "Linting..."
129
129
  successMessage: "Lint done...",
130
130
  },
131
+ "node": {
132
+ "version": ">=24.0.0",
133
+ },
131
134
  },
132
135
  rules: {
133
136
  ...globalBase.rules,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odg/eslint-config",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Linter for JavaScript And Typescript project",
5
5
  "type": "module",
6
6
  "main": "index.mjs",