trailsjs / generator-trails-old

:package: Trails Generator.
Other
6 stars 8 forks source link

place .eslintrc in test/ dir to customize testing rules #3

Closed tjwebb closed 8 years ago

tjwebb commented 8 years ago

re https://github.com/trailsjs/eslint-config-trails/issues/7

wbprice commented 8 years ago

Add an .eslintrc containing at least

{
  "extends": "trails/test"
}

to the test directory and it will grab test-specific linting rules after https://github.com/trailsjs/eslint-config-trails/issues/7 is closed.

tjwebb commented 8 years ago

PRs are welcome ;)

konstantinzolotarev commented 8 years ago

@tjwebb @wbprice What about new EsLint version and deprecated .eslintrc ? http://eslint.org/docs/user-guide/configuring#configuration-file-formats

jaumard commented 8 years ago

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