chore(ui-avatar): Review build configuration (#37608)
parent
f5eedbeefe
commit
33e5015d75
@ -1 +0,0 @@ |
||||
!.storybook |
||||
@ -1,65 +1,4 @@ |
||||
{ |
||||
"extends": [ |
||||
"plugin:@typescript-eslint/recommended", |
||||
"plugin:@typescript-eslint/eslint-recommended", |
||||
"@rocket.chat/eslint-config/original", |
||||
"@rocket.chat/eslint-config/react", |
||||
"prettier", |
||||
"plugin:anti-trojan-source/recommended", |
||||
"plugin:react/jsx-runtime", |
||||
"plugin:storybook/recommended" |
||||
], |
||||
"parser": "@typescript-eslint/parser", |
||||
"plugins": ["@typescript-eslint", "prettier"], |
||||
"rules": { |
||||
"func-call-spacing": "off", |
||||
"import/named": "error", |
||||
"import/order": [ |
||||
"error", |
||||
{ |
||||
"newlines-between": "always", |
||||
"groups": ["builtin", "external", "internal", ["parent", "sibling", "index"]], |
||||
"alphabetize": { |
||||
"order": "asc" |
||||
} |
||||
} |
||||
], |
||||
"indent": "off", |
||||
"jsx-quotes": ["error", "prefer-single"], |
||||
"new-cap": ["error"], |
||||
"no-extra-parens": "off", |
||||
"no-spaced-func": "off", |
||||
"no-undef": "off", |
||||
"no-unused-vars": "off", |
||||
"no-useless-constructor": "off", |
||||
"no-use-before-define": "off", |
||||
"prefer-arrow-callback": ["error", { "allowNamedFunctions": true }], |
||||
"prettier/prettier": 2 |
||||
}, |
||||
"settings": { |
||||
"import/resolver": { |
||||
"node": { |
||||
"extensions": [".js", ".ts", ".tsx"] |
||||
} |
||||
} |
||||
}, |
||||
"ignorePatterns": ["**/dist"], |
||||
"overrides": [ |
||||
{ |
||||
"files": ["*.ts", "*.tsx"], |
||||
"rules": { |
||||
"@typescript-eslint/ban-ts-ignore": "off", |
||||
"@typescript-eslint/indent": "off", |
||||
"@typescript-eslint/no-extra-parens": "off", |
||||
"@typescript-eslint/no-explicit-any": "off", |
||||
"@typescript-eslint/no-unused-vars": [ |
||||
"error", |
||||
{ |
||||
"argsIgnorePattern": "^_" |
||||
} |
||||
], |
||||
"@typescript-eslint/prefer-optional-chain": "warn" |
||||
} |
||||
} |
||||
] |
||||
"extends": ["@rocket.chat/eslint-config", "@rocket.chat/eslint-config/react"], |
||||
"ignorePatterns": ["dist", "storybook-static", "!.storybook"] |
||||
} |
||||
|
||||
Loading…
Reference in new issue