Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

Commit c11bc04

Browse files
committed
Fix: update eslint version and add import plugin to eslint configuration file
Update grommet version
1 parent 893ce73 commit c11bc04

File tree

19 files changed

+6178
-6339
lines changed

19 files changed

+6178
-6339
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
app/build/
22
app/dist/
33
webpack.config.*.js
4+
config/

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
"settings": {
1212
"import/resolver": {
1313
"webpack": {
14-
"config": "webpack.config.babel.js"
14+
"config": "webpack.config.js"
1515
}
1616
}
1717
},
@@ -30,6 +30,7 @@ module.exports = {
3030
}]
3131
},
3232
"plugins": [
33+
"import",
3334
"react",
3435
"graphql",
3536
"jsx-a11y"

.flowconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[ignore]
22
.*/node_modules/.*
3+
config/
34

45
[include]
56
./app/src/

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@ jspm_packages
4040

4141
# Optional REPL history
4242
.node_repl_history
43+
.env
44+
.vscode
45+
/server/public/**/*.js
46+
/server/public/**/*.css
47+
/server/public/**/*.map
48+
/server/public/**/*.json

app/src/components/About/index.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import React, { PropTypes } from 'react';
2-
import Box from 'grommet-udacity/components/Box';
3-
import Paragraph from 'grommet-udacity/components/Paragraph';
4-
import Article from 'grommet-udacity/components/Article';
5-
import Heading from 'grommet-udacity/components/Heading';
6-
import Markdown from 'grommet-udacity/components/Markdown';
7-
import Section from 'grommet-udacity/components/Section';
8-
import List from 'grommet-udacity/components/List';
9-
import ListItem from 'grommet-udacity/components/ListItem';
10-
import Anchor from 'grommet-udacity/components/Anchor';
2+
import Box from 'grommet/components/Box';
3+
import Paragraph from 'grommet/components/Paragraph';
4+
import Article from 'grommet/components/Article';
5+
import Heading from 'grommet/components/Heading';
6+
import Markdown from 'grommet/components/Markdown';
7+
import Section from 'grommet/components/Section';
8+
import List from 'grommet/components/List';
9+
import ListItem from 'grommet/components/ListItem';
10+
import Anchor from 'grommet/components/Anchor';
1111
import { Divider } from 'components';
1212
import readme from './_readme.md';
1313

app/src/components/AppFooter/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React from 'react';
22
import cssModules from 'react-css-modules';
3-
import Footer from 'grommet-udacity/components/Footer';
4-
import Box from 'grommet-udacity/components/Box';
5-
import Heading from 'grommet-udacity/components/Heading';
6-
import SocialShare from 'grommet-udacity/components/SocialShare';
7-
import Anchor from 'grommet-udacity/components/Anchor';
3+
import Footer from 'grommet/components/Footer';
4+
import Box from 'grommet/components/Box';
5+
import Heading from 'grommet/components/Heading';
6+
import SocialShare from 'grommet/components/SocialShare';
7+
import Anchor from 'grommet/components/Anchor';
88
import styles from './index.module.scss';
99

1010
const AppFooter = () => (

app/src/components/Contributor/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import React, { PropTypes } from 'react';
22
import { Avatar } from 'components';
33
import cssModules from 'react-css-modules';
4-
import Heading from 'grommet-udacity/components/Heading';
5-
import Box from 'grommet-udacity/components/Box';
6-
import Paragraph from 'grommet-udacity/components/Paragraph';
7-
import Anchor from 'grommet-udacity/components/Anchor';
8-
import SocialGithubIcon from 'grommet-udacity/components/icons/base/SocialGithub';
4+
import Heading from 'grommet/components/Heading';
5+
import Box from 'grommet/components/Box';
6+
import Paragraph from 'grommet/components/Paragraph';
7+
import Anchor from 'grommet/components/Anchor';
8+
import SocialGithubIcon from 'grommet/components/icons/base/SocialGithub';
99
import styles from './index.module.scss';
1010

1111
const Contributor = ({

app/src/components/LoadingIndicator/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// @flow
22
import React from 'react';
33
import cssModules from 'react-css-modules';
4-
import Spinning from 'grommet-udacity/components/icons/Spinning';
5-
import Box from 'grommet-udacity/components/Box';
6-
import Heading from 'grommet-udacity/components/Heading';
4+
import Spinning from 'grommet/components/icons/Spinning';
5+
import Box from 'grommet/components/Box';
6+
import Heading from 'grommet/components/Heading';
77
import styles from './index.module.scss';
88

99
function LoadingIndicator(props: {

app/src/components/Navbar/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// @flow
22
import React from 'react';
3-
import Header from 'grommet-udacity/components/Header';
4-
import Title from 'grommet-udacity/components/Title';
5-
import Anchor from 'grommet-udacity/components/Anchor';
6-
import Search from 'grommet-udacity/components/Search';
3+
import Header from 'grommet/components/Header';
4+
import Title from 'grommet/components/Title';
5+
import Anchor from 'grommet/components/Anchor';
6+
import Search from 'grommet/components/Search';
77
import LogoImage from './logo.png';
88
import { StyledMenu, StyledLogo, LogoPlaceholder } from './styles';
99

app/src/components/Navbar/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from 'styled-components';
2-
import Menu from 'grommet-udacity/components/Menu';
2+
import Menu from 'grommet/components/Menu';
33

44
export const StyledMenu = styled(Menu)`
55
flex-direction: row !important;

0 commit comments

Comments
 (0)