This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
| import { line, curve, curveCatmullRom } from "d3-shape"; | |
| import { scaleTime, scaleLinear } from "d3-scale"; | |
| import { axisBottom, axisLeft } from 'd3-axis'; | |
| import { timeParse, isoFormat } from "d3-time-format"; | |
| import { select } from "d3-selection"; | |
| import { extent, max, min } from "d3-array"; | |
| export default { | |
| line: line, | |
| scaleTime: scaleTime, |
| { | |
| // -------------------------------------------------------------------- | |
| // JSHint Configuration, Strict Edition | |
| // -------------------------------------------------------------------- | |
| // | |
| // This is a options template for [JSHint][1], using [JSHint example][2] | |
| // and [Ory Band's example][3] as basis and setting config values to | |
| // be most strict: | |
| // | |
| // * set all enforcing options to true |
| // It is important to declare your variables. | |
| (function() { | |
| var foo = 'Hello, world!'; | |
| print(foo); //=> Hello, world! | |
| })(); | |
| // Because if you don't, the become global variables. | |
| (function() { |