# code-explorer **Repository Path**: mirrors_eslint/code-explorer ## Basic Information - **Project Name**: code-explorer - **Description**: ESLint Code Explorer - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-05 - **Last Updated**: 2026-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ESLint Code Explorer ## Overview This repository contains the source code for the ESLint [Code Explorer](https://explorer.eslint.org). Code Explorer is designed to help developers explore and understand source code to aid in the creation of custom ESLint rules. Each language supported by Code Explorer exposes the same information that ESLint rules have access to. At a minimum, each language displays the AST for any code that is entered into the editor. You can toggle different parser settings for each language to see how that affects the AST. For JavaScript, you also get to see scope and code path information. ## Installation To install and set up the project, follow these steps: 1. Ensure you have Node.js v20 installed. You can download it from the [official Node.js website](https://nodejs.org/). 2. Clone the repository to your local machine. 3. Install the project dependencies using npm - `npm install`. 4. Install Playwright browsers if you plan to run the E2E tests: `npx playwright install --with-deps`. This will install all the necessary packages and dependencies required to run the project. Once the installation is complete, you can proceed to the next section to get started with running the development server. ## Usage Run the development server with `npm run start`. Open [http://localhost:5173](http://localhost:5173) with your browser to see the result. ## Scripts - `npm run start`: Starts the development server. - `npm run build`: Builds the app for production. - `npm run test:e2e`: Runs all End-to-End tests with Playwright. ## Configuration - The app is configured to use ESLint for linting JavaScript code, with its configuration stored in the `eslint.config.js` file. - The app is also configured to use Prettier for code formatting, with its configuration stored in the `.prettierrc` file. ## License Apache 2.0 ## Credits - [AST Explorer](https://astexplorer.net) - the original AST visualization tool. We took great inspiration from AST explorer when creating this tool. - [escope Demo](http://mazurov.github.io/escope-demo/) - the original demo of the [escope](https://github.com/estools/escope) utility that [`eslint-scope`](https://github.com/eslint/js/tree/main/packages/eslint-scope) utility is based on. ## Sponsors The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. [Become a Sponsor](https://eslint.org/donate) to get your logo on our READMEs and [website](https://eslint.org/sponsors).

Platinum Sponsors

Automattic

Gold Sponsors

Qlty Software

Silver Sponsors

Vite Liftoff StackBlitz

Bronze Sponsors

Cybozu SAP CrawlJobs aeriusventilation's Org Depot Icons8 Discord GitBook HeroCoders TestMu AI Open Source Office (Formerly LambdaTest)

Technology Sponsors

Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.

Netlify Algolia 1Password