{"repo":"sumup-oss/foundry","free":true,"listed":false,"github":"https://github.com/sumup-oss/foundry","clone":"git clone https://github.com/sumup-oss/foundry.git","description":"A toolkit for building web applications and libraries.","language":"TypeScript","stars":193,"topics":["javascript","typescript","toolkit","cli","nodejs"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Foundry A toolkit that makes it a breeze to format and lint JavaScript, TypeScript, CSS, and GraphQL files. Table of contents - Getting Started - Installation - Initialization - Scripts - Configuration - Tools - Why? - Code of conduct - About SumUp Getting Started Installation Foundry should be installed as a dev-dependency. Run the following command in your terminal: Initialization Foundry exposes customizable configurations for the CLI tools it supports. Use the init command to initialize a configuration file for the tools you would like to use: Foundry will launch an interactive prompt to ask you questions about your project, such as whether you are planning to open source it. Once you have answered all questions, Foundry will write the config files (don't worry, it asks before overwriting existing files) and will add scripts to your package.json file to conveniently run the tools. Alternatively, you can pass your answers to the init command directly as flags. This is useful for environments such as CI where interactive prompts cannot be used. Here is an overview of all available options (you can view this help menu by running npx foundry init --help ): Scripts Foundry adds the following scripts to your package.json file: - lint : format JavaScript & TypeScript files and check them for problematic patterns - lint:fix : same as lint , but also try to fix the issues - lint:ci : same as lint , but optimized for continuous integration workflows - lint:css : check CSS files for","default_branch":null,"files":null,"tree":[],"storefront":"/r/sumup-oss","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sumup-oss/foundry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}