This commit is contained in:
Igor Lobanov 2022-11-23 13:31:13 +01:00
parent b3c1ee664a
commit ffc0b7abf9
2 changed files with 2 additions and 1 deletions

View File

@ -73,6 +73,7 @@ module.exports = {
'unicorn/import-style': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-node-protocol': 'off',
'unicorn/consistent-function-scoping': 'warn',
'promise/always-return': 'off',

View File

@ -15,7 +15,7 @@ const pseudonames = {
comments: 'discussions'
}
const nos = (s) => s.slice(0, s.length - 1)
const nos = (s) => s.slice(-1)
export const StatMetrics = (props: StatMetricsProps) => {
return (