Skip to content
Snippets Groups Projects
Commit da9000e0 authored by michael.minelli's avatar michael.minelli
Browse files

ESLint => Bug fix: eslint is seen as module

parent 79c24874
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@ import tseslint from 'typescript-eslint';
export default tseslint.config({
ignores: [ 'dist/*', 'node_modules/*', '.gitlab-ci.yml', 'eslint.config.js' ]
ignores: [ 'dist/*', 'node_modules/*', '.gitlab-ci.yml', 'eslint.config.mjs' ]
}, eslint.configs.recommended, ...tseslint.configs.recommendedTypeChecked, {
languageOptions: {
parserOptions: {
......
......@@ -10,6 +10,7 @@
"license": "AGPLv3",
"dependencies": {
"@dotenvx/dotenvx": "^0.34.0",
"@eslint/js": "^9.0.0",
"@gitbeaker/core": "^40.0.3",
"@gitbeaker/requester-utils": "^40.0.3",
"@gitbeaker/rest": "^40.0.3",
......@@ -682,12 +683,11 @@
}
},
"node_modules/@eslint/js": {
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
"integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
"dev": true,
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.0.0.tgz",
"integrity": "sha512-RThY/MnKrhubF6+s1JflwUjPEsnCEmYCWwqa/aRISKWNXGZ9epUwft4bUMM35SdKF9xvBrLydAM1RDHd1Z//ZQ==",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
"node_modules/@fastify/busboy": {
......@@ -2958,6 +2958,15 @@
"url": "https://opencollective.com/eslint"
}
},
"node_modules/eslint/node_modules/@eslint/js": {
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
"integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
},
"node_modules/eslint/node_modules/ajv": {
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
......
......@@ -34,9 +34,10 @@
},
"dependencies": {
"@dotenvx/dotenvx": "^0.34.0",
"@gitbeaker/rest" : "^40.0.3",
"@eslint/js": "^9.0.0",
"@gitbeaker/core": "^40.0.3",
"@gitbeaker/requester-utils": "^40.0.3",
"@gitbeaker/rest": "^40.0.3",
"appdata-path": "^1.0.0",
"axios": "^1.6.8",
"boxen": "^5.1.2",
......
......@@ -15,7 +15,6 @@ import util from 'util';
import { exec } from 'child_process';
import SharedConfig from '../../shared/config/SharedConfig.js';
import TextStyle from '../../types/TextStyle.js';
import { fileURLToPath } from 'url';
const execAsync = util.promisify(exec);
......
......@@ -20,6 +20,7 @@
"node_modules"
],
"include" : [
"src/**/*.ts"
"src/**/*.ts",
"eslint.config.mjs"
]
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment