We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4707f8a commit a0ea95bCopy full SHA for a0ea95b
README.md
@@ -33,6 +33,8 @@ Add `plugins` section and specify ESLint-plugin-React as a plugin.
33
34
If it is not already the case you must also configure `ESLint` to support JSX.
35
36
+With ESLint 1.x.x:
37
+
38
```json
39
{
40
"ecmaFeatures": {
@@ -41,6 +43,18 @@ If it is not already the case you must also configure `ESLint` to support JSX.
41
43
}
42
44
```
45
46
+With ESLint 2.x.x:
47
48
+```json
49
+{
50
+ "parserOptions": {
51
+ "ecmaFeatures": {
52
+ "jsx": true
53
+ }
54
55
+}
56
+```
57
58
Finally, enable all of the rules that you would like to use.
59
60
0 commit comments