Gapminder / ddf-validation

How do you know your DDF dataset is ✅valid?
https://open-numbers.github.io/ddftools.html
GNU General Public License v3.0
7 stars 2 forks source link

json based configuration #127

Open buchslava opened 8 years ago

buchslava commented 8 years ago

we need to provide JSON based configuration such as http://eslint.org/docs/user-guide/configuring

buchslava commented 7 years ago

@jheeffer is this issue still actual?

jheeffer commented 7 years ago

I don't know what this means?

Configuration of what? I can't think of anything where we need eslint in ddf-validation? For datapackage.json maybe? But that seems overkill, right?

buchslava commented 7 years ago

@jheeffer this task is about an ability to save predefined parameters that we use in validator's command line

for example, we have next typical command for some dataset

validate-ddf --multidir --datapointless --include-tags ... --exclude-rules ... --exclude-dirs ...

let's imagine next case: command line will be in config file:

{
  multidir: true,
  datapointless: true,
  include-tags: [...],
  exclude-rules: [...],
  exclude-dirs: [...]
}

and use just validate-ddf command