mirror of
https://github.com/wharfkit/contract.git
synced 2026-07-21 17:43:29 +00:00
1160a92989
* Moved ABI data to root of namespace * Removed underscore in front of namespace * Added new test setup to test mock and generated at the same time * Add test to ensure the generated and mock contracts are equal * Added note * Linting + Ignore mock file * Removed unused parameter * Implemented `PartialBy` generic on generated contract Fixes #44 * Re-enabled some tests * Renamed `types` to `Types` in namespace This matches the other camel casing we're doing * Started migrating some contract tests to a generic function This will allow us to run the same tests are run in the Contract tests against the generated tests * Removing unused test data * Updated ABICache * Version 0.3.2 * Updating dependencies for ESR + Session * Version 0.3.3 * Updating mock-data * Removed export of codegen Resolves #40 * Version 0.3.4
28 lines
879 B
Plaintext
28 lines
879 B
Plaintext
{
|
|
"root": true,
|
|
"ignorePatterns": ["lib/*", "node_modules/**", "test/data/contracts/*.ts"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": "warn",
|
|
"no-console": "warn",
|
|
"sort-imports": [
|
|
"warn",
|
|
{
|
|
"ignoreCase": true,
|
|
"ignoreDeclarationSort": true
|
|
}
|
|
],
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-namespace": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-empty-function": "warn",
|
|
"no-inner-declarations": "off"
|
|
}
|
|
}
|