ruff/playground
Micha Reiser cd8be8c0be
refactor: Introduce crates folder (#2088)
This PR introduces a new `crates` directory and moves all "product" crates into that folder. 

Part of #2059.
2023-02-05 16:47:48 -05:00
..
src Update documentation to match latest terminology (#1760) 2023-01-09 21:10:47 -05:00
.eslintrc Enable Quick Fix in the playground (#1395) 2022-12-26 19:25:50 -05:00
.gitignore Add ESLint, Prettier, and TypeScript checks (#1384) 2022-12-26 15:08:22 -05:00
.prettierrc.json Use trailingComma: 'all' (#1457) 2022-12-29 19:36:51 -05:00
index.html Add markdownlint and dev Ruff to pre-commit (#2303) 2023-02-02 16:29:07 -05:00
package-lock.json Re-style the Ruff playground (#1438) 2022-12-29 11:47:27 -05:00
package.json Re-style the Ruff playground (#1438) 2022-12-29 11:47:27 -05:00
postcss.config.cjs Re-style the Ruff playground (#1438) 2022-12-29 11:47:27 -05:00
README.md refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00
tailwind.config.cjs Swap accent color for playground (#1584) 2023-01-02 22:44:09 -05:00
tsconfig.json Web playground with WASM (#1279) 2022-12-26 12:09:17 -05:00
tsconfig.node.json Web playground with WASM (#1279) 2022-12-26 12:09:17 -05:00
vite.config.ts Web playground with WASM (#1279) 2022-12-26 12:09:17 -05:00

playground

In-browser playground for Ruff. Available https://play.ruff.rs/.

Getting started

  • To build the WASM module, run wasm-pack build ../crates/ruff --target web --out-dir ../../playground/src/pkg from the ./playground directory.
  • Install TypeScript dependencies with: npm install.
  • Start the development server with: npm run dev.

Implementation

Design based on Tailwind Play. Themed with ayu.