chia-blockchain/electron-react/.eslintrc.js
Zlatko Fedor a1d9de769b Ui farm (#537)
* added farm cards

* updated farming page
updated card, accordion and table components

* updated formating

* added @chia/core and @chia/icons packages
small refactoring

* replaced brand with chia icon
removed modal dialog

* removed old pages
added WalletType into the constants

* added craco for local alias
fixed typos

* fixed app provdier and typos

* eslint format

* updated deps

* added minimum K=32 for mainnet
added precision = 3 for plot size and total net size
refactored plot page
added hooks for open and select directory via electron api
added react-form-hooks components for material-ui

* updated format of the code

* fix simulator

* black

* deps

* added plot list

* removed unused components
moved plot list from farmer into the plot page
removed unused console.logs
updated format for fee, reward and total number

* Bump colorlog to 4.5.0

* Bump colorlog to 4.6.2

* Farm crash fixes (#512)

* Bump blspy to 0.2.5

Incorporate @wjblanke's potential bls fix for farming crashes

* blspy to 0.2.6

* move to blspy 0.2.7

* added tooltip into the table cell
fixed list of the plots
added farming visualisation and hook for the farming state

* renamed back index to selectKey

* transaction type

* Bump cbor2 from 5.1.2 to 5.2.0

Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/agronholm/cbor2/releases)
- [Changelog](https://github.com/agronholm/cbor2/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/cbor2/compare/5.1.2...5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Add cbor 5.2.0 to install.sh

* Don't forget azure pipelines

* Bump sortedcontainers from 2.2.2 to 2.3.0

Bumps [sortedcontainers](https://github.com/grantjenks/python-sortedcontainers) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/grantjenks/python-sortedcontainers/releases)
- [Changelog](https://github.com/grantjenks/python-sortedcontainers/blob/master/HISTORY.rst)
- [Commits](https://github.com/grantjenks/python-sortedcontainers/compare/v2.2.2...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump clvm-tools from 0.1.6 to 0.1.7

Bumps [clvm-tools](https://github.com/Chia-Network/clvm_tools) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/Chia-Network/clvm_tools/releases)
- [Commits](https://github.com/Chia-Network/clvm_tools/compare/0.1.6...0.1.7)

Signed-off-by: dependabot[bot] <support@github.com>

* Have Cbor2 version only rely on setup.py (#518)

* cbor2 version should only be in setup.py

* Build and install wheels in one step on Azure

* swapped standard puzzle to use aggsig_me

fixed bug in sign_coin_solutions where aggsig_me would not be signed 
correctly

* cc_wallet and trade_manager use aggsig_me

* fixed aggsig_me bug in wallet_tool

* appeased superlinter black requests

* added aggsig_me to cost_calculator, same as aggsig

* black fix cost calculator

* Bump chiapos to 0.12.35, catch up changelog

* Appease the markdown lint

* used new type enum from transaction
simplified modals and added new type of modals

* updated format of the UI files

* added failed and not found plots
fixed plot header
added delete action for plot

* typo

* fixed scroll bar in the wallets list

* removed unused code and fixed windows build

* fixed all known scroll bar issues

* added layout sidebar
simplified layout flexbox

* added radio button to chia/core
added box shadow for layout sidebar
showed plot in parallel (disabled until we add support)

* npm run buil

* removed additional fields from queue item

* first version of refactored trade part

* call get_plots after harvester
updated format
removed unused console.logs

* added plot queue

* upnp

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

* Build python 3.8 and 3.9 on MacOS - temporarily compile chiavdf on Mac

* Don't build vdf_client at first on Mac 3.9

* Modify typing for python 3.9 (#532)

* Give MacOS 3.9 more time to test

* try get_args

* 3.7

* sys

* tuple

* is not none

* pretty printer versus flake

* black

* Revert MacOS testing time to 60m max

Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>

* Bump concurrent-log-handler from 0.9.17 to 0.9.19 (#530)

Bumps [concurrent-log-handler](https://github.com/Preston-Landers/concurrent-log-handler) from 0.9.17 to 0.9.19.
- [Release notes](https://github.com/Preston-Landers/concurrent-log-handler/releases)
- [Changelog](https://github.com/Preston-Landers/concurrent-log-handler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Preston-Landers/concurrent-log-handler/compare/0.9.17...0.9.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/upload-artifact from v2.2.0 to v2.2.1 (#528)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.0...726a6dcd0199f578459862705eed35cda05af50b)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump keyring from 21.4.0 to 21.5.0 (#529)

Bumps [keyring](https://github.com/jaraco/keyring) from 21.4.0 to 21.5.0.
- [Release notes](https://github.com/jaraco/keyring/releases)
- [Changelog](https://github.com/jaraco/keyring/blob/master/CHANGES.rst)
- [Commits](https://github.com/jaraco/keyring/compare/v21.4.0...v21.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Try pyinstaller-4.1 (#533)

* Try aiohttp 3.7.3

* fixed mac build

* updated formating
fixed eslint
updated deps
compiled locales

* fixed locale file format

* removed unused code

* added "add plot directory" when plots are already there

* slovak translation correction

* use electron starter from dev branch

* updated router and fixed electron build

* used TXCH for testnet

* removed eslintcache from the git

* used correct translation (TXCH) for English locale

* added missing plurals library

* used same visualization for total size

* removed unused code

* update package-lock.json

* start harvester and farmer

* Bump blspy to 0.2.9 and brute force Python 3.9 timelord issue (#540)

* Is a bad chiavdf cached?

* Bump blspy

* Check the env

* rm unexpected vdf_client in python 3.9

* Remove debug echo

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

* Bump pos/vdf/bip158/bls for python 3.9 wheels

* downgrade to last good chiavdf - no 3.9 ubuntu yet

Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthew Howard <matt@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Bill Blanke <wjb2002@flex.com>
Co-authored-by: wjblanke <wjb98672@gmail.com>
2021-01-12 17:00:50 -05:00

80 lines
2.4 KiB
JavaScript

module.exports = {
extends: [
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:eslint-comments/recommended",
"plugin:jest/recommended",
"plugin:promise/recommended",
"plugin:unicorn/recommended",
"prettier",
"prettier/react",
"prettier/@typescript-eslint",
],
plugins: [
"@typescript-eslint",
"eslint-comments",
"jest",
"promise",
"unicorn",
"react",
"jsx-a11y",
"import",
"prettier",
],
env: {
"browser": true,
"es6": true,
"jest": true,
},
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
project: "./tsconfig.json",
ecmaFeatures: {
jsx: true,
},
},
rules: {
"jsx-a11y/anchor-is-valid": "off",
"consistent-return": "off",
"react/no-danger": "off",
"no-case-declarations": "off",
"eslint-comments/no-unlimited-disable": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-floating-promises": "off",
"react/jsx-props-no-spreading": "off",
"react/destructuring-assignment": "off",
"react/require-default-props": "off",
"react/default-props-match-prop-types": "off",
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/explicit-length-check": "off",
"unicorn/no-null": "off",
"unicorn/no-reduce": "off",
"unicorn/consistent-function-scoping": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/filename-case": ["error", {
"cases": {
"camelCase": true,
"pascalCase": true,
},
}],
},
};