mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-27 04:32:32 +02:00
Enable Flow Strict
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import { Link } from 'gatsby';
|
||||
import kebabCase from 'lodash/kebabCase';
|
||||
@@ -29,4 +29,4 @@ const CategoriesListTemplate = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default CategoriesListTemplate;
|
||||
export default CategoriesListTemplate;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import { graphql } from 'gatsby';
|
||||
import Layout from '../components/Layout';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import { graphql } from 'gatsby';
|
||||
import Layout from '../components/Layout';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import { StaticQuery, useStaticQuery } from 'gatsby';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import Sidebar from '../components/Sidebar';
|
||||
import Layout from '../components/Layout';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import { graphql } from 'gatsby';
|
||||
import Layout from '../components/Layout';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||
@@ -27,4 +27,4 @@ describe('PageTemplate', () => {
|
||||
const tree = renderer.create(<PageTemplate {...props} />).toJSON();
|
||||
expect(tree).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import { graphql } from 'gatsby';
|
||||
import Layout from '../components/Layout';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||
@@ -27,4 +27,4 @@ describe('PostTemplate', () => {
|
||||
const tree = renderer.create(<PostTemplate {...props} />).toJSON();
|
||||
expect(tree).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import { graphql } from 'gatsby';
|
||||
import Layout from '../components/Layout';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||
@@ -29,4 +29,4 @@ describe('TagTemplate', () => {
|
||||
const tree = renderer.create(<TagTemplate {...props} />).toJSON();
|
||||
expect(tree).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import { Link } from 'gatsby';
|
||||
import kebabCase from 'lodash/kebabCase';
|
||||
@@ -29,4 +29,4 @@ const TagsListTemplate = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default TagsListTemplate;
|
||||
export default TagsListTemplate;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// @flow
|
||||
// @flow strict
|
||||
import React from 'react';
|
||||
import renderer from 'react-test-renderer';
|
||||
import { useStaticQuery, StaticQuery } from 'gatsby';
|
||||
|
Reference in New Issue
Block a user