Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit ee8c2ff

Browse files
author
Daniel Brook-Roberge
committed
Also include the difference in the top-level README.
1 parent 99c7056 commit ee8c2ff

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ eslint:{
3232

3333
## ES6/JSX
3434

35-
We use [ESLint](http://eslint.org/) to lint ES6 and React/JSX code. If ESLint is installed in a project, we can use the configuration from this module by creating a file in the project root named `.eslintrc.yml` with the contents:
35+
We use [ESLint](http://eslint.org/) to lint ES6 and React/JSX code. If ESLint is installed in a project, we can use the configuration from this module by creating a file in the project root named `.eslintrc.yml`. If the project does not use JSX, the file contents should be
36+
37+
```yaml
38+
extends:
39+
- 'node_modules/mobify-code-style/es6/mobify-es6.yml'
40+
```
41+
42+
and for a React/JSX project:
3643
3744
```yaml
3845
extends:

0 commit comments

Comments
 (0)