first commit
This commit is contained in:
9
prettier.config.cjs
Normal file
9
prettier.config.cjs
Normal file
@@ -0,0 +1,9 @@
|
||||
/** @type {import("prettier").Config} */
|
||||
module.exports = {
|
||||
semi: true, // Har satrda nuqta-vergul bo‘lishi
|
||||
singleQuote: true, // ' ' ishlatilsin, " " emas
|
||||
trailingComma: 'all', // so‘nggi vergullar qo‘yilsin
|
||||
tabWidth: 2, // Indent 2 bo‘lsin
|
||||
bracketSpacing: true, // { a: 1 } ichida bo‘sh joy qoldirsin
|
||||
arrowParens: 'always', // (x) => {...}
|
||||
};
|
||||
Reference in New Issue
Block a user