Skip to content

Commit 7d41712

Browse files
authored
style: Format all files except autogenerated ones (#307)
1 parent ed265a9 commit 7d41712

24 files changed

+485
-452
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15-
# TODO extract common steps into reusable workflows to resolve
16-
# concurrency issue.
15+
# TODO extract common steps into reusable workflows to resolve
16+
# concurrency issue.
1717
build-and-test:
1818
runs-on: ubuntu-latest
1919
steps:

.mocharc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"require": "hardhat/register",
3-
"timeout": 40000,
4-
"_": ["test/**/*.test.ts"]
2+
"require": "hardhat/register",
3+
"timeout": 40000,
4+
"_": ["test/**/*.test.ts"]
55
}

.prettierrc

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,23 @@
44
"tabWidth": 4,
55
"trailingComma": "all",
66
"endOfLine": "auto",
7-
"plugins": [
8-
"prettier-plugin-organize-imports",
9-
"prettier-plugin-solidity"
10-
],
7+
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-solidity"],
118
"pluginsComments": {
129
"prettier-plugin-organize-import": "Supports .ts files (not .sol)",
1310
"prettier-plugin-solidity": "Does not support imports sorting yet. See prettier-solidity/prettier-plugin-solidity#918"
1411
},
1512
"overrides": [
1613
{
17-
"files": "*.sol",
18-
"options": {
14+
"files": "*.sol",
15+
"options": {
1916
"singleQuote": false
2017
}
2118
},
2219
{
23-
"files": ["**/*.json", "**/*.yml"],
24-
"options": {
20+
"files": ["**/*.json", "**/*.yml"],
21+
"options": {
2522
"tabWidth": 2
2623
}
2724
}
28-
]
25+
]
2926
}

0 commit comments

Comments
 (0)