place .eslintrc in test/ dir to customize testing rules
Closed this issue · 4 comments
tjwebb commented
wbprice commented
Add an .eslintrc
containing at least
{
"extends": "trails/test"
}
to the test directory and it will grab test-specific linting rules after trailsjs/eslint-config-trails#7 is closed.
tjwebb commented
PRs are welcome ;)
konstantinzolotarev commented
@tjwebb @wbprice What about new EsLint version and deprecated .eslintrc ?
http://eslint.org/docs/user-guide/configuring#configuration-file-formats
jaumard commented
Closing this. I merge @wbprice PR and also rename his file to .eslintrc.json into PR https://github.com/trailsjs/generator-trails/pull/16 cause you're right .eslintrc is deprecated