feat: 01 - First React app setup with Vite

This commit is contained in:
2026-05-04 10:51:51 +05:30
commit 9a9f830194
4266 changed files with 997642 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
/**
* @fileoverview Expose out ESLint and CLI to require.
* @author Ian Christian Myers
*/
"use strict";
//-----------------------------------------------------------------------------
// Requirements
//-----------------------------------------------------------------------------
const { ESLint } = require("./eslint/eslint");
const { Linter } = require("./linter");
const { RuleTester } = require("./rule-tester");
const { SourceCode } = require("./languages/js/source-code");
//-----------------------------------------------------------------------------
// Functions
//-----------------------------------------------------------------------------
/**
* Loads the correct `ESLint` constructor.
* @returns {Promise<ESLint>} The ESLint constructor.
*/
async function loadESLint() {
return ESLint;
}
//-----------------------------------------------------------------------------
// Exports
//-----------------------------------------------------------------------------
module.exports = {
Linter,
loadESLint,
ESLint,
RuleTester,
SourceCode,
};