Some checks failed
Integration Tests / test-service-integration (push) Failing after 40s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 38s
Package Tests / Python package - aitbc-core (push) Successful in 23s
Package Tests / Python package - aitbc-crypto (push) Successful in 20s
Package Tests / Python package - aitbc-sdk (push) Failing after 20s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 7s
Package Tests / JavaScript package - aitbc-token (push) Failing after 7s
Security Scanning / security-scan (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Failing after 3s
Smart Contract Tests / lint-solidity (push) Failing after 4s
Added @prettier/plugin-solidity package and .prettierrc configuration to enable Solidity file parsing in prettier linting. This fixes the 'No parser could be inferred' error for .sol files.
18 lines
339 B
Plaintext
18 lines
339 B
Plaintext
{
|
|
"plugins": ["@prettier/plugin-solidity"],
|
|
"overrides": [
|
|
{
|
|
"files": "*.sol",
|
|
"options": {
|
|
"parser": "solidity-parse",
|
|
"printWidth": 80,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": false,
|
|
"bracketSpacing": true,
|
|
"explicitTypes": "always"
|
|
}
|
|
}
|
|
]
|
|
}
|