azeemba / eslint-plugin-json

Lint your JSON files
MIT License
209 stars 29 forks source link

JSON files are ignored by default #23

Closed cdfa closed 4 years ago

cdfa commented 5 years ago

It seems eslint ignores .json files by default. It would be helpful if the installation instruction said how to unignore them with a .eslintignore

AdrieanKhisbe commented 4 years ago

Hey @cdfa What you describe is a behavior from eslint which only lint .js files unless you specify extensions via --ext .xx

Documentation has been added there: https://github.com/azeemba/eslint-plugin-json#basic-configuration

Is it good for you?

cdfa commented 4 years ago

Yup, seems good!