Skip to content

Commit

Permalink
Fix/stylelint (#333)
Browse files Browse the repository at this point in the history
* updated stylelint config

* linting
  • Loading branch information
Abby George authored Aug 7, 2018
1 parent 4c32619 commit 88e0b67
Show file tree
Hide file tree
Showing 8 changed files with 1,289 additions and 1,286 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"eslint": "eslint --ext js --ext jsx --ignore-pattern '**/__generated__/**' --ignore-pattern '**/*.min.js' --ignore-pattern '**/setupJest.js' --ignore-pattern '**/gqlHelper.js' --fix src",
"elint": "eslint --ext js --ext jsx --ignore-pattern '**/__generated__/**' --ignore-pattern '**/*.min.js' --ignore-pattern '**/setupJest.js'",
"storybook": "start-storybook -p 9001 -c .storybook",
"stylelint": "stylelint **/*.less **/.css --config .stylelintrc.js --fix"
"stylelint": "stylelint 'src/**/*.less' 'src/**/*.css' --config .stylelintrc.js --fix"
},
"graphql": {
"file": "./data/schema.json"
Expand Down
4 changes: 2 additions & 2 deletions src/Explorer/ExplorerComponent.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.explorer-component {
.explorer-component {
display: flex;
padding: 40px 0;
background-color: #ecebeb;
}
}
2 changes: 1 addition & 1 deletion src/Index/page.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.index-page {
width: 1220px;
padding: 75px 0px 40px 0px;
padding: 75px 0 40px 0;
}

.index-page__top {
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/NavBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}

.nav-bar__logo {
padding: 8px 0px;
padding: 8px 0;
display: inline-block;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/NavButton.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import '~@gen3/ui-component/dist/css/base.less';

.nav-button {
padding: 16px 0px;
padding: 16px 0;
height: 80px;
width: 110px;
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/TopBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
display: inline-block;
text-align: center;
vertical-align: middle;
padding: 0px 0px;
padding: 0 0;
margin-top: 10px;
margin-bottom: 10px;
}
Expand Down
Loading

0 comments on commit 88e0b67

Please sign in to comment.