import { ExpandableWidget, List } from '@components/WidgetParts';
import { ThematicPreview } from '@ts/types/taxonomies';
import Link from 'next/link';
import { useIntl } from 'react-intl';
const RelatedThematics = ({ thematics }: { thematics: ThematicPreview[] }) => {
const intl = useIntl();
const sortedThematics = [...thematics].sort((a, b) =>
a.title.localeCompare(b.title)
);
const thematicsList = sortedThematics.map((thematic) => {
return (
blob: 433cbc066c48e414041c9db4c5d783d547b90bf6 (
plain)
1
2
3
4
5
6
|
module.exports = {
'**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit',
'**/*.(ts|tsx|js|jsx)': ['eslint --cache --fix', 'prettier --write'],
'**/*.(md|json)': 'prettier --write',
'**/*.scss': ['stylelint --fix', 'prettier --write'],
};
|