Skip to content

Commit

Permalink
fix: style issues in buy sell form, ad table status tag, modal manage…
Browse files Browse the repository at this point in the history
…r for buysell
  • Loading branch information
nada-deriv committed Apr 29, 2024
1 parent 97d68cf commit 3ed9ac0
Show file tree
Hide file tree
Showing 18 changed files with 574 additions and 177 deletions.
14 changes: 12 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
module.exports = {
extends: ['@deriv-com/eslint-config-deriv'],
plugins: ['simple-import-sort'],
extends: ['@deriv-com/eslint-config-deriv', 'eslint:recommended', 'plugin:react/recommended'],
plugins: ['simple-import-sort', 'sort-destructure-keys', 'typescript-sort-keys'],
rules: {
'global-require': 'off',
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/sort-type-constituents': 'error',
'import/newline-after-import': 'error',
'react/jsx-sort-props': 'error',
'simple-import-sort/exports': 'error',
'simple-import-sort/imports': [
'error',
{
Expand Down Expand Up @@ -32,6 +38,10 @@ module.exports = {
],
},
],
'sort-destructure-keys/sort-destructure-keys': 'error',
'sort-keys': 'error',
'typescript-sort-keys/interface': 'error',
'typescript-sort-keys/string-enum': 'error',
},
overrides: [
{
Expand Down
Loading

0 comments on commit 3ed9ac0

Please sign in to comment.