lint
This commit is contained in:
parent
b3c1ee664a
commit
ffc0b7abf9
|
@ -73,6 +73,7 @@ module.exports = {
|
||||||
'unicorn/import-style': 'off',
|
'unicorn/import-style': 'off',
|
||||||
'unicorn/numeric-separators-style': 'off',
|
'unicorn/numeric-separators-style': 'off',
|
||||||
'unicorn/prefer-node-protocol': 'off',
|
'unicorn/prefer-node-protocol': 'off',
|
||||||
|
'unicorn/consistent-function-scoping': 'warn',
|
||||||
|
|
||||||
'promise/always-return': 'off',
|
'promise/always-return': 'off',
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ const pseudonames = {
|
||||||
comments: 'discussions'
|
comments: 'discussions'
|
||||||
}
|
}
|
||||||
|
|
||||||
const nos = (s) => s.slice(0, s.length - 1)
|
const nos = (s) => s.slice(-1)
|
||||||
|
|
||||||
export const StatMetrics = (props: StatMetricsProps) => {
|
export const StatMetrics = (props: StatMetricsProps) => {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user