Full build: Vite/React acid-terminal frontend (BEARER design system, Panchang/Sentient/Fragment Mono, neon layer, palette audit script), HoodquidityVaults Foundry contracts (single+dual deposits via Chainlink-style feeds, hybrid exit, 10% platform fee, boost, Genesis LP), Reown AppKit wallet connect with Robinhood Chain testnet (46630), live data from Dexscreener and onchain reads, partner portal, design-sync setup for claude.ai/design. Deploy: static via Forgejo Actions platform, BUILD_DIR=apps/web/dist (.env). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
29 lines
695 B
JavaScript
29 lines
695 B
JavaScript
const customRules = require('solhint-plugin-openzeppelin');
|
|
|
|
const rules = [
|
|
'avoid-tx-origin',
|
|
'const-name-snakecase',
|
|
'contract-name-capwords',
|
|
'event-name-capwords',
|
|
'max-states-count',
|
|
'explicit-types',
|
|
'func-name-mixedcase',
|
|
'func-param-name-mixedcase',
|
|
'imports-on-top',
|
|
'modifier-name-mixedcase',
|
|
'no-console',
|
|
'no-global-import',
|
|
'no-unused-vars',
|
|
'quotes',
|
|
'use-forbidden-name',
|
|
'var-name-mixedcase',
|
|
'visibility-modifier-order',
|
|
'interface-starts-with-i',
|
|
'duplicated-imports',
|
|
...customRules.map(r => `openzeppelin/${r.ruleId}`),
|
|
];
|
|
|
|
module.exports = {
|
|
plugins: ['openzeppelin'],
|
|
rules: Object.fromEntries(rules.map(r => [r, 'error'])),
|
|
};
|