mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
lint: updated eslint rules
This commit is contained in:
parent
93cf2039a5
commit
6b2c0195b2
@ -30,14 +30,9 @@ module.exports = {
|
|||||||
'react/prop-types': 'off',
|
'react/prop-types': 'off',
|
||||||
'react/react-in-jsx-scope': 'off',
|
'react/react-in-jsx-scope': 'off',
|
||||||
'jsx-a11y/anchor-is-valid': 'off',
|
'jsx-a11y/anchor-is-valid': 'off',
|
||||||
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
||||||
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||||
'@typescript-eslint/no-unused-vars': ['warn'],
|
'@typescript-eslint/no-unused-vars': ['warn'],
|
||||||
'@typescript-eslint/explicit-function-return-type': [
|
|
||||||
'warn',
|
|
||||||
{
|
|
||||||
allowExpressions: true,
|
|
||||||
allowConciseArrowFunctionExpressionsStartingWithVoid: true,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
indent: [
|
indent: [
|
||||||
'error',
|
'error',
|
||||||
'tab'
|
'tab'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user