Skip to content

Commit

Permalink
fix(lint): fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Roiback committed Jul 30, 2019
1 parent 8f36fea commit 5439a94
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 23 deletions.
4 changes: 2 additions & 2 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Test from '../src/project_default/project_default';

ReactDOM.render(
<Test classname={'--offers'}/>,
document.getElementById('offers')
document.getElementById('offers'),
);

ReactDOM.render(
<Test classname={'--news'}/>,
document.getElementById('news')
document.getElementById('news'),
);
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@
"prerelease": "npm ci && npm run lint && npm run cleancoverage && npm run check-master && npm run test:ci",
"clean": "rm -rf dist && mkdir dist",
"predist": "npm run clean",
"lint": "eslint .",
"check-master": "git symbolic-ref --short HEAD | grep ^master$ > /dev/null || (echo \"Not in 'master' branch. Aborting release\"; return 1)",
"release:patch": "npm run prerelease && changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch",
"release:minor": "npm run prerelease && changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor",
"release:major": "npm run prerelease && changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major",
"prepare": "npm run dist",
"postversion": "git push --follow-tags",
"deploy": "webpack --config webpack.deploy.js && surge ./deploy/builds/ [nombre componente eg:'roi-tabs'].surge.sh",
"lint": "eslint . && npm run style-lint",
"lint:fix": "eslint . --fix",
"style-lint": "node_modules/sass-lint/bin/sass-lint.js --config .scss-lint.yml '**/*.scss' --verbose --no-exit"
},
"repository": {
Expand Down
40 changes: 20 additions & 20 deletions src/dynamic_templates/modules/list/_layouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
@import '../../libs/overs';
@import '../../libs/common';

/*
@mixin list__template(){
%list{
&-item{
&--hover{}
&__title{}
&__sub-title{}
&__content{}
&__description{}
&__img {
&-fix{}
}
&__action{}
&__label{}
&__span{}
}
@content;
}
}
*/

// @mixin list__template(){
// %list{
// &-item{
// &--hover{}
// &__title{}
// &__sub-title{}
// &__content{}
// &__description{}
// &__img {
// &-fix{}
// }
// &__action{}
// &__label{}
// &__span{}
// }
// @content;
// }
// }

@import 'themes/list--default';
@import 'themes/list--option';
@import 'themes/list--alternate';

0 comments on commit 5439a94

Please sign in to comment.