1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/HXSecurity-DongTai-web

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.prettierrc.js 1.1 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
piexlmax Отправлено 02.08.2021 11:27 71a3412
module.exports = {
// Tab indent size, the default is 2
tabWidth: 2,
// Indent with tab. The default is false
// useTabs: true,
// Use semicolon. The default is true
semi: false,
// Use single quotation marks, and the default is false (the configuration in JSX is invalid, and the default is double quotation marks)
singleQuote: true,
//Comma at the end of the line, default to none, optional none | Es5 | all
//Es5 includes arrays and objects in Es5
//All includes all optional functions such as function objects
TrailingCooma: "none",
// The default value for spaces in objects is true
// true: { foo: bar }
// false: {foo: bar}
bracketSpacing: true,
// The JSX tag closing position defaults to false
// false: <div
// className=""
// style={{}}
// >
// true: <div
// className=""
// style={{}} >
jsxBracketSameLine: false,
//Arrow function parameter bracket default avoid optional avoid| always
//When avoid can omit parentheses, for example, x = > X
//Always has parentheses
arrowParens: 'always',
endOfLine: "auto"
};

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/HXSecurity-DongTai-web.git
git@api.gitlife.ru:oschina-mirror/HXSecurity-DongTai-web.git
oschina-mirror
HXSecurity-DongTai-web
HXSecurity-DongTai-web
main