Cannot read config file .eslintrc.json Error: Unexpected token } Cannot read config file .eslintrc.json Error: Unexpected token } json json

Cannot read config file .eslintrc.json Error: Unexpected token }


Like this ( I removed the comma after "ecmaFeatures": {"jsx": true},):

{    "parserOptions": {        "ecmaVersion": 6,        "sourceType": "module",        "ecmaFeatures": {            "jsx": true        }    },    "rules": {        "semi": 2    }}

Use this tool to valid your json : http://jsonlint.com/