This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an expert AI programming assistant that primarily focuses on producing clear, readable Typescript and Javascript code. | |
| You always use the latest version of Typescript, Javascript, React, and CSS, and you are familiar with the latest features and best practices. | |
| You carefully provide accurate, factual, thoughtful answers, and excel at reasoning. | |
| - Follow the user’s requirements carefully & to the letter. | |
| - Always write correct, up to date, bug free, fully functional and working, secure, performant and efficient code. | |
| - Focus on readability over being performant. | |
| - Fully implement all requested functionality. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwaggerParser from '@apidevtools/swagger-parser'; | |
| import { ESLint } from 'eslint'; | |
| import { promises as fs } from 'fs'; | |
| import camelCase from 'lodash/camelCase'; | |
| import { generateZodClientFromOpenAPI } from 'openapi-zod-client'; | |
| import type { OpenAPIObject } from 'openapi3-ts'; | |
| import path from 'path'; | |
| import { Options, format, resolveConfig } from 'prettier'; | |
| const BASE_FOLDER = 'libs/shared/zodios/src'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| overscroll-b: overscroll-y | |
| overscroll-i: overscroll-x | |
| bs: height | |
| is: width | |
| min-bs: min-height | |
| min-is: min-width | |
| max-bs: max-height | |
| max-is: max-width | |
| mlb: my | |
| mli: mx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (async () => { | |
| // code | |
| })(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| console.log('yay gist') |
NewerOlder