-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update readme with fix from #1939 #2114
Changes from 1 commit
80a10bf
d406724
24f3fcd
b3ce3f7
3dc41f0
8eaaad3
1baf645
df67823
32653a0
2b85cfd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -207,7 +207,7 @@ To configure the syntax highlighting in your favorite text editor, head to the [ | |
|
||
## Displaying Lint Output in the Editor | ||
|
||
>Note: this feature is available with `react-scripts@0.2.0` and higher. | ||
>Note: this feature is available with `react-scripts@0.2.0` and higher. | ||
>It also only works with npm 3 or higher. | ||
|
||
Some editors, including Sublime Text, Atom, and Visual Studio Code, provide plugins for ESLint. | ||
|
@@ -406,7 +406,7 @@ Then in `package.json`, add the following lines to `scripts`: | |
```diff | ||
"scripts": { | ||
+ "build-css": "node-sass src/ -o src/", | ||
+ "watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive", | ||
+ "watch-css": "npm run build-css && node-sass src/*.scss -o src/ --watch --recursive", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this need to be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👀 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok, updating. I coudn't find anything at first in the readme of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Most likely, yeah! I just want to make sure it's noted. Thanks! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. noted 👍 |
||
"start": "react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test --env=jsdom", | ||
|
@@ -431,7 +431,7 @@ Then we can change `start` and `build` scripts to include the CSS preprocessor c | |
```diff | ||
"scripts": { | ||
"build-css": "node-sass src/ -o src/", | ||
"watch-css": "npm run build-css && node-sass src/ -o src/ --watch --recursive", | ||
"watch-css": "npm run build-css && node-sass src/*.scss -o src/ --watch --recursive", | ||
- "start": "react-scripts start", | ||
- "build": "react-scripts build", | ||
+ "start-js": "react-scripts start", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whitespace is significant in markdown. Please leave those two spaces in, they are causing the line to break. They were intentional.