Eslint-plugin-react: JSX/Fragment file is not being installed

Created on 3 Dec 2018  路  2Comments  路  Source: yannickcr/eslint-plugin-react

After installing "eslint-plugin-react": "^7.11.1", I can not find the file /node_modules/eslint-plugin-react/lib/rules/jsx-fragments.js. Is this ok? I need to define a rule like this: "react/jsx-fragments": [2, "element"] and it's failing with this error: 1:1 error Definition for rule 'react/jsx-fragments' was not found react/jsx-fragments

Most helpful comment

All 2 comments

You will have to wait until the next release for this rule to become available.

Was this page helpful?
0 / 5 - 0 ratings