mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Changed: - Console output formatting - Transaction arguments - Readability and comments of code - Linting rules - Missing semicolons - Package name and descrption Signed-off-by: Mark S. Lewis <mark_lewis@uk.ibm.com>
46 lines
No EOL
891 B
JSON
46 lines
No EOL
891 B
JSON
{
|
|
"env": {
|
|
"node": true,
|
|
"es2020": true
|
|
},
|
|
"root": true,
|
|
"ignorePatterns": [
|
|
"dist/"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"**/*.ts"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"impliedStrict": true
|
|
},
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
]
|
|
}
|
|
]
|
|
} |