mirror of
https://github.com/selfxyz/self.git
synced 2026-01-07 22:04:03 -05:00
add prettier
This commit is contained in:
18
circuits/.prettierrc
Normal file
18
circuits/.prettierrc
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"printWidth": 100,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"quoteProps": "as-needed",
|
||||
"jsxSingleQuote": false,
|
||||
"trailingComma": "es5",
|
||||
"bracketSpacing": true,
|
||||
"bracketSameLine": false,
|
||||
"arrowParens": "always",
|
||||
"proseWrap": "preserve",
|
||||
"htmlWhitespaceSensitivity": "css",
|
||||
"endOfLine": "lf",
|
||||
"embeddedLanguageFormatting": "auto",
|
||||
"singleAttributePerLine": false
|
||||
}
|
||||
@@ -5,7 +5,9 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"test": "yarn ts-mocha tests/**/*.test.ts --exit",
|
||||
"install-circuits": "cd ../common && yarn && cd ../circuits && yarn"
|
||||
"install-circuits": "cd ../common && yarn && cd ../circuits && yarn",
|
||||
"format": "prettier --write .",
|
||||
"lint": "prettier --check ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/chai-as-promised": "^7.1.6",
|
||||
@@ -40,7 +42,8 @@
|
||||
"@types/mocha": "^10.0.6",
|
||||
"chai": "^4.3.8",
|
||||
"mocha": "^10.3.0",
|
||||
"prettier": "^3.3.3",
|
||||
"ts-mocha": "^10.0.0",
|
||||
"ts-node": "^10.9.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user