Skip to content

Commit 77d9c9d

Browse files
author
Andrey Okonetchnikov
committed
chore(test): Exit with 0 until we have tests
1 parent 3886e45 commit 77d9c9d

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules/
1+
node_modules/
2+
build/

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
"scripts": {
99
"build": "rollup -c",
1010
"pretest": "npm run lint",
11-
"test": "echo \"Error: no test specified\" && exit 1",
12-
"posttest": "npm run format",
13-
"format": "prettier --write '**/*.{js,css,md}'",
14-
"lint": "eslint . --cache --fix",
11+
"test": "echo \"Error: no test specified\" && exit 0",
12+
"lint": "eslint .",
1513
"precommit": "lint-staged",
1614
"styleguide": "styleguidist server",
1715
"styleguide:build": "styleguidist build",

styleguide.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const path = require("path");
1+
const path = require('path')
22
const { createConfig, babel } = require("webpack-blocks"); // eslint-disable-line
33

44
module.exports = {
5-
components: "src/**/[A-Z]*.js",
5+
components: 'src/**/[A-Z]*.js',
66
webpackConfig: createConfig([babel()]),
77
compilerConfig: {
88
transforms: {
@@ -11,10 +11,10 @@ module.exports = {
1111
}
1212
},
1313
getComponentPathLine(componentPath) {
14-
const name = path.basename(componentPath, ".js");
15-
return `import ${name} from 'react-focus-within';`;
14+
const name = path.basename(componentPath, '.js')
15+
return `import ${name} from 'react-focus-within';`
1616
},
17-
exampleMode: "expand",
18-
usageMode: "expand",
17+
exampleMode: 'expand',
18+
usageMode: 'expand',
1919
showSidebar: false
20-
};
20+
}

0 commit comments

Comments
 (0)