add eol-last rule

This commit is contained in:
tmshv committed 2022-09-06 14:42:16 +03:00
1 parent 0fec2fdbab
commit 501ce4d3d0
5 files changed
+5 -4

No files matched your search

+1
View File
@@ -15,6 +15,7 @@
"warn",
4
],
"eol-last": ["error", "always"],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error"
}
+1 -1
View File
@@ -21,4 +21,4 @@ export const Signature: React.FC<SignatureProps> = props => {
<FiShield className={s.secure} size={20} />
</Tooltip>
)
}
}
+1 -1
View File
@@ -46,4 +46,4 @@ export const getCode = () => `
})()
</script>
<script>Widget("https://pos.gosuslugi.ru/form", 312519)</script>
`
`
+1 -1
View File
@@ -12,4 +12,4 @@ export const ActiveLink: React.FC<ActiveLinkProps> = props => props.href
</Link>
) : (
<span style={props.activeStyle}>{props.children}</span>
)
)
+1 -1
View File
@@ -14,4 +14,4 @@ export function paramsToSlug(parts: string | string[]): string {
const slug = asArray(parts).join('/')
return `/${slug}`
}
}