mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 01:32:40 -04:00
The code in question is
```
return root.append('g')
.attr("class", "bar")
.selectAll("rect")
.data(bars.map(function(bar) { return bar.value; }))
.enter()
```
in graphs/bar_group.js, and
```
return d3.append('g')
.attr("class", "bar-label")
.selectAll("text")
.data(bars.map(function(bar){ return bar.name;}))
.enter()
.append("text")
.attr('x', -80)
```
in graphs/bar_label_group.js. I don't think it's worth unifying these.
45 lines
828 B
YAML
45 lines
828 B
YAML
engines:
|
|
rubocop:
|
|
enabled: true
|
|
scss-lint:
|
|
enabled: true
|
|
shellcheck:
|
|
enabled: true
|
|
eslint:
|
|
enabled: true
|
|
coffeelint:
|
|
enabled: true
|
|
brakeman:
|
|
enabled: true
|
|
bundler-audit:
|
|
enabled: true
|
|
duplication:
|
|
enabled: true
|
|
config:
|
|
languages:
|
|
- ruby
|
|
- javascript
|
|
exclude_fingerprints:
|
|
- 16dbcb58d6caa7ccfe241417831ecfa6
|
|
- 7d7dca4f27f50e3084f203280073cc74
|
|
fixme:
|
|
enabled: true
|
|
exclude_fingerprints: # rubocop_todo filename
|
|
- 63b8552079d106832fbe281566b6d028
|
|
- d38afbaaea3ecaa9a4cf046b07a01cec
|
|
- 57ff3968fd371d3e1f75c237d6c78acf
|
|
ratings:
|
|
paths:
|
|
- "**.rb"
|
|
- "**.js"
|
|
- "**.coffee"
|
|
- "**.sass"
|
|
- "**.haml"
|
|
- Gemfile.lock
|
|
exclude_paths:
|
|
- config/
|
|
- db/
|
|
- spec/
|
|
- public/
|
|
- app/assets/stylesheets/bootstrap-accessibility.css
|