@truenine/eslint9-config
Version:
ESLint 9 configuration package for Compose Client projects with TypeScript, Vue, and modern JavaScript support
1 lines • 925 B
Source Map (JSON)
{"version":3,"file":"formatter.cjs","names":[],"sources":["../../src/configs/formatter.ts"],"sourcesContent":["import type {AntFuFormatterConfig} from '../types'\n\n/** Formatter (Prettier) 默认配置 */\nexport const formatterConfig: AntFuFormatterConfig = {\n css: 'prettier',\n html: 'prettier',\n markdown: 'prettier',\n prettierOptions: {\n printWidth: 160,\n tabWidth: 2,\n arrowParens: 'avoid',\n vueIndentScriptAndStyle: true,\n useTabs: false,\n singleQuote: true,\n jsxSingleQuote: true,\n trailingComma: 'none',\n bracketSpacing: false\n }\n}\n\n/** @deprecated 使用 formatterConfig 代替 */\nexport const defaultFormatterConfig: AntFuFormatterConfig = formatterConfig\n"],"mappings":";;;;AAGA,MAAa,kBAAwC;CACnD,KAAK;CACL,MAAM;CACN,UAAU;CACV,iBAAiB;EACf,YAAY;EACZ,UAAU;EACV,aAAa;EACb,yBAAyB;EACzB,SAAS;EACT,aAAa;EACb,gBAAgB;EAChB,eAAe;EACf,gBAAgB;EACjB;CACF;;AAGD,MAAa,yBAA+C"}