Skip to content

Commit

Permalink
chore(release): refactor
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Only SCSS exported to NPM
  • Loading branch information
Rob McGuinness committed Dec 10, 2017
1 parent 74876e1 commit 8ffde9e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
node_modules/
build/
dist/
images/
fonts/
lib/
**/node_modules
**/images
**/fonts
**/public

6 changes: 4 additions & 2 deletions packages/docs/src/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
extends: availity/browser
settings:
import/core-modules:
- react
- config
- react # from gatsby
- config # from gatsby
- prop-types # from gatsby
- react-helmet # from gatsby
rules:
jsx-a11y/anchor-is-valid:
- error
Expand Down
7 changes: 7 additions & 0 deletions packages/docs/src/pages/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import ReactHtmlParser from 'react-html-parser';
import groupBy from 'lodash.groupby';
import map from 'lodash.map';
import slugify from 'slugify';
import PropTypes from 'prop-types';
import 'holderjs';

const Component = ({ html, title }) => (
Expand Down Expand Up @@ -49,6 +50,12 @@ const ComponentsPage = ({ data }) => {
);
};

ComponentsPage.propTypes = {
data: PropTypes.shape({
allMarkdownRemark: PropTypes.string,
}),
};

export default ComponentsPage;

export const pageQuery = graphql`
Expand Down

0 comments on commit 8ffde9e

Please sign in to comment.