Skip to content

Commit 17012b1

Browse files
YorubaCanedo
authored andcommitted
Add nested unordered list items (#31)
* Add nested unordered list items * Fix "no-else-return" is invalid" by upgrading eslint from 4.8 to 4.9 * Add nested ordered list item (2 levels deep) * Add tests for ordered list and unordered list * linter fix for *.test files * Add more tests for listItems
1 parent 062d918 commit 17012b1

16 files changed

+11291
-153
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ flowtype-test/index.js
77
sample/node_modules/**
88
sample/android/**
99
sample/ios/**
10-
sample/__tests__/**
10+
# sample/__tests__/**

.eslintrc

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"import/extensions": [2, "never", { "json": "always" }],
1212
"no-duplicate-imports": 0,
1313
"no-underscore-dangle": 0,
14+
"linebreak-style": 0,
1415
"react/forbid-prop-types": 0,
1516
"react/default-props-match-prop-types": 0,
1617
"import/no-unresolved": 0,
@@ -53,13 +54,13 @@
5354
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
5455
"react/sort-comp": [
5556
2, {
56-
order: [
57-
'static-methods',
58-
'/props/',
59-
'/state/',
60-
'lifecycle',
61-
'everything-else',
62-
'render'
57+
"order": [
58+
"static-methods",
59+
"/props/",
60+
"/state/",
61+
"lifecycle",
62+
"everything-else",
63+
"render"
6364
]
6465
}
6566
]

0 commit comments

Comments
 (0)