Skip to content

Commit 1eceb03

Browse files
committed
add info about eslint
1 parent b8af7e5 commit 1eceb03

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ To view the results of a run on CircleCI, download the `build/test_images/` and
116116

117117
### Coding style
118118

119-
- 4-space indentation
120-
- semi-colons are required
121-
- trailing commas
122-
123119
Check if ok, with `npm run lint`
120+
121+
- See [eslintrc](https://github.com/plotly/plotly.js/blob/master/.eslintrc) and
122+
the eslint [list of rules](http://eslint.org/docs/rules/) for more details.
123+
- Rules listed in the eslintrc file with the ignore flag `0` are the recommended
124+
rules for new code added.

0 commit comments

Comments
 (0)