fixed-merkle-tree/.eslintrc

58 lines
963 B
Plaintext
Raw Permalink Normal View History

2020-07-31 03:00:33 +02:00
{
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
2022-02-22 09:45:31 +01:00
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"ignorePatterns": [
"test/*.spec.ts",
"lib"
],
2020-07-31 03:00:33 +02:00
"rules": {
2022-02-22 09:45:31 +01:00
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/consistent-type-definitions": [
"error",
"type"
],
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
],
"object-curly-spacing": [
"error",
"always"
],
"comma-dangle": [
"error",
"always-multiline"
],
2020-07-31 03:00:33 +02:00
"require-await": "error"
2022-02-22 09:45:31 +01:00
},
"env": {
"browser": true,
"es2021": true,
"node": true,
"mocha": true
2020-07-31 03:00:33 +02:00
}
}