Files
cloudron-box/eslint.config.js
Girish Ramakrishnan 43e426ab9f Revert "Add no-use-before-define linter rule"
This reverts commit fdcc5d68a2.

Unfortunately, this requires us to move exports to the bottom.
This in turn causes circular dep issues and also access of
exports.GLOBAL_VAR in the global context
2025-10-08 21:17:52 +02:00

22 lines
425 B
JavaScript

const js = require('@eslint/js');
const globals = require('globals');
module.exports = [
js.configs.recommended,
{
files: ["**/*.js"],
languageOptions: {
globals: {
...globals.node,
},
ecmaVersion: 13,
sourceType: "commonjs"
},
rules: {
semi: "error",
"prefer-const": "error"
}
}
];