add eol-last rule
This commit is contained in:
1 parent
0fec2fdbab
commit
501ce4d3d0
5 files changed
+5
-4
No files matched your search
@@ -15,6 +15,7 @@
|
|||||||
"warn",
|
"warn",
|
||||||
4
|
4
|
||||||
],
|
],
|
||||||
|
"eol-last": ["error", "always"],
|
||||||
"react/jsx-uses-react": "error",
|
"react/jsx-uses-react": "error",
|
||||||
"react/jsx-uses-vars": "error"
|
"react/jsx-uses-vars": "error"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,4 +21,4 @@ export const Signature: React.FC<SignatureProps> = props => {
|
|||||||
<FiShield className={s.secure} size={20} />
|
<FiShield className={s.secure} size={20} />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -46,4 +46,4 @@ export const getCode = () => `
|
|||||||
})()
|
})()
|
||||||
</script>
|
</script>
|
||||||
<script>Widget("https://pos.gosuslugi.ru/form", 312519)</script>
|
<script>Widget("https://pos.gosuslugi.ru/form", 312519)</script>
|
||||||
`
|
`
|
||||||
@@ -12,4 +12,4 @@ export const ActiveLink: React.FC<ActiveLinkProps> = props => props.href
|
|||||||
</Link>
|
</Link>
|
||||||
) : (
|
) : (
|
||||||
<span style={props.activeStyle}>{props.children}</span>
|
<span style={props.activeStyle}>{props.children}</span>
|
||||||
)
|
)
|
||||||
+1
-1
@@ -14,4 +14,4 @@ export function paramsToSlug(parts: string | string[]): string {
|
|||||||
const slug = asArray(parts).join('/')
|
const slug = asArray(parts).join('/')
|
||||||
|
|
||||||
return `/${slug}`
|
return `/${slug}`
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user