Skip to content

Commit 9db8b76

Browse files
authored
Merge pull request #5 from smooth-code/various-fixes
Various fixes
2 parents cf60fc2 + 5451cd3 commit 9db8b76

File tree

126 files changed

+561
-543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+561
-543
lines changed

.eslintrc.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
{
22
"root": true,
3-
"parser": "babel-eslint",
4-
"extends": ["airbnb", "prettier"],
5-
"env": {
6-
"jest": true,
7-
"browser": false
8-
},
3+
"extends": ["smooth", "smooth/project", "smooth/react"],
94
"rules": {
10-
"no-restricted-syntax": "off",
11-
"no-nested-ternary": "off",
12-
"no-plusplus": "off",
13-
"no-param-reassign": "off",
145
"no-underscore-dangle": [
156
"error",
167
{
@@ -23,20 +14,11 @@
2314
]
2415
}
2516
],
26-
"react/jsx-filename-extension": ["error", { "extensions": [".js"] }],
27-
"react/jsx-wrap-multilines": "off",
28-
"react/no-unused-state": "off",
29-
"react/destructuring-assignment": "off",
30-
"react/prop-types": "off",
31-
"react/no-array-index-key": "off",
32-
"react/no-danger": "off",
33-
"import/prefer-default-export": "off",
3417
"import/no-unresolved": [
3518
"error",
3619
{
3720
"ignore": ["__smooth"]
3821
}
39-
],
40-
"jsx-a11y/html-has-lang": "off"
22+
]
4123
}
4224
}

README.md

Lines changed: 1 addition & 1 deletion

examples/emotion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"@emotion/core": "^10.0.6",
1010
"react": "^16.8.2",
1111
"react-dom": "^16.8.2",
12-
"smooth-core": "latest"
12+
"smooth": "latest"
1313
}
1414
}

examples/head-elements/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"dependencies": {
99
"react": "^16.8.2",
1010
"react-dom": "^16.8.2",
11-
"smooth-core": "latest"
11+
"smooth": "latest"
1212
}
1313
}

examples/head-elements/src/pages/index$.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import Head from 'smooth-core/head'
2+
import Head from 'smooth/head'
33

44
export default () => (
55
<>

examples/hello-world/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"dependencies": {
99
"react": "^16.8.2",
1010
"react-dom": "^16.8.2",
11-
"smooth-core": "latest"
11+
"smooth": "latest"
1212
}
1313
}

examples/hello-world/src/pages/index$.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { Link } from 'smooth-core/router'
2+
import { Link } from 'smooth/router'
33

44
export default () => (
55
<div>

examples/simple/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"dependencies": {
99
"react": "^16.8.2",
1010
"react-dom": "^16.8.2",
11-
"smooth-core": "latest"
11+
"smooth": "latest"
1212
}
1313
}

examples/with-app-layout/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"dependencies": {
99
"react": "^16.8.2",
1010
"react-dom": "^16.8.2",
11-
"smooth-core": "latest"
11+
"smooth": "latest"
1212
}
1313
}

examples/with-dynamic-import/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"dependencies": {
99
"react": "^16.8.2",
1010
"react-dom": "^16.8.2",
11-
"smooth-core": "latest"
11+
"smooth": "latest"
1212
}
1313
}

0 commit comments

Comments
 (0)