Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Feb 1, 2022
1 parent 9bb1716 commit 3256648
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"test": "make test",
"test:fix": "make test-update",
"pre-commit": "yarn stylelint:fix && yarn prettier:fix && yarn lint:fix",
"stylelint": "if [ -d ./project ]; then ./project/node_modules/stylelint/bin/stylelint.js --allow-empty-input 'src/**/*.{css,less}'; else ../../../node_modules/stylelint/bin/stylelint.js --allow-empty-input 'src/**/*.{css,less}'; fi",
"stylelint": "if [ -d ./project ]; then ./project/node_modules/stylelint/bin/stylelint.js --allow-empty-input 'theme/**/*.{css,less}' 'src/**/*.{css,less}'; else ../../../node_modules/stylelint/bin/stylelint.js --allow-empty-input 'theme/**/*.{css,less}' 'src/**/*.{css,less}'; fi",
"stylelint:overrides": "if [ -d ./project ]; then ./project/node_modules/.bin/stylelint --syntax less --allow-empty-input 'theme/**/*.overrides' 'src/**/*.overrides'; else ../../../node_modules/.bin/stylelint --syntax less --allow-empty-input 'theme/**/*.overrides' 'src/**/*.overrides'; fi",
"stylelint:fix": "yarn stylelint --fix && yarn stylelint:overrides --fix",
"prettier": "if [ -d ./project ]; then ./project/node_modules/.bin/prettier --single-quote --check 'src/**/*.{js,jsx,json,css,less,md}'; else ../../../node_modules/.bin/prettier --single-quote --check 'src/**/*.{js,jsx,json,css,less,md}'; fi",
Expand Down
2 changes: 0 additions & 2 deletions src/Widgets/VisualizationWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ class VisualizationWidget extends Component {
render() {
const { id, title, description, error, value } = this.props;

console.log('HERE', value);

if (__SERVER__) return '';

return (
Expand Down
4 changes: 2 additions & 2 deletions src/Widgets/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
}

.field-provider-data-action-button {
border: 1px solid #C7D5D8;
border: 1px solid #c7d5d8;
cursor: pointer;
}
}
4 changes: 2 additions & 2 deletions src/less/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
.blocks-chooser {
.button.embed_chart,
.button.connected_plotly_chart {
display: none !important;
z-index: -1 !important;
display: none !important;
opacity: 0 !important;
pointer-events: none !important;
}
Expand All @@ -40,4 +40,4 @@ body.has-sidebar .ui.modal.chart-editor-modal {
.embed-visualization,
.plotly-chart {
position: relative;
}
}
2 changes: 1 addition & 1 deletion src/less/variables.less
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@type: extra;
@element: custom;
@element: custom;

0 comments on commit 3256648

Please sign in to comment.