Skip to content

Commit

Permalink
refactor(wallet): remove classes and pass eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
druiz0992 committed Oct 26, 2021
1 parent f62ce6a commit a6e799e
Show file tree
Hide file tree
Showing 21 changed files with 1,641 additions and 1,424 deletions.
19 changes: 18 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['codfish'],
extends: ['codfish', 'eslint:recommended', 'plugin:react/recommended'],
rules: {
'no-underscore-dangle': 'off',
'no-console': 'off',
Expand All @@ -8,10 +8,27 @@ module.exports = {
'no-plusplus': 'off',
'func-names': 'off',
},
parser: 'babel-eslint', // Uses babel-eslint transforms.
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
},
settings: {
react: {
version: 'latest',
},
},
globals: {
BigInt: 'true',
},
env: {
mocha: true,
browser: true,
node: true,
jest: true,
},
plugins: ['import'],
};
Loading

0 comments on commit a6e799e

Please sign in to comment.