diff --git a/.eslintrc.json b/.eslintrc.json index 03333844..59d8be2b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -15,6 +15,7 @@ "warn", 4 ], + "eol-last": ["error", "always"], "react/jsx-uses-react": "error", "react/jsx-uses-vars": "error" } diff --git a/src/components/FIleCard/Signature.tsx b/src/components/FIleCard/Signature.tsx index 8a4aadda..d0e0ee11 100644 --- a/src/components/FIleCard/Signature.tsx +++ b/src/components/FIleCard/Signature.tsx @@ -21,4 +21,4 @@ export const Signature: React.FC = props => { ) -} \ No newline at end of file +} diff --git a/src/components/Gosuslugi/lib.ts b/src/components/Gosuslugi/lib.ts index d6522ba9..5aee64d5 100644 --- a/src/components/Gosuslugi/lib.ts +++ b/src/components/Gosuslugi/lib.ts @@ -46,4 +46,4 @@ export const getCode = () => ` })() -` \ No newline at end of file +` diff --git a/src/components/Menu/ActiveLink.tsx b/src/components/Menu/ActiveLink.tsx index bd2f4466..8f19fcd0 100644 --- a/src/components/Menu/ActiveLink.tsx +++ b/src/components/Menu/ActiveLink.tsx @@ -12,4 +12,4 @@ export const ActiveLink: React.FC = props => props.href ) : ( {props.children} - ) \ No newline at end of file + ) diff --git a/src/remote/lib.ts b/src/remote/lib.ts index 136e2355..a73651ab 100644 --- a/src/remote/lib.ts +++ b/src/remote/lib.ts @@ -14,4 +14,4 @@ export function paramsToSlug(parts: string | string[]): string { const slug = asArray(parts).join('/') return `/${slug}` -} \ No newline at end of file +}