Skip to content

Commit

Permalink
Update prettier and eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
evercoinx committed Aug 29, 2024
1 parent 81e198d commit 134aba8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
parserOptions: {
project: ["tsconfig.json"],
sourceType: "module",
warnOnUnsupportedTypeScriptVersion: false,
},
ignorePatterns: [
"/lib/**/*", // Ignore built files.
Expand Down
18 changes: 9 additions & 9 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"tabWidth": 4,
"useTabs": true,
"singleQuote": false,
"bracketSpacing": true,
"explicitTypes": "always",
"semi": true,
"quoteProps": "as-needed",
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always",
"overrides": [
{
"files": "*.sol",
"options": {
"printWidth": 80,
"tabWidth": 4,
"useTabs": true,
"singleQuote": false,
"bracketSpacing": true,
"explicitTypes": "always"
"parser": "solidity-parse",
"printWidth": 80
}
}
]
],
"plugins": ["prettier-plugin-solidity"]
}

0 comments on commit 134aba8

Please sign in to comment.