From b54f21f6e9eaf0d13c2d2f44db7318ce50133501 Mon Sep 17 00:00:00 2001 From: Adnan Asani Date: Tue, 4 Sep 2018 14:05:18 +0200 Subject: [PATCH 1/2] chore(travis): add config file --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..07e34990e7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +sudo: false +language: node_js +node_js: + - '8' + +notifications: + email: false + +cache: + yarn: true + directories: + - node_modules + +script: + - yarn lint + - yarn test + From 39268e70a183437a93b297efa47dc675dcf30d06 Mon Sep 17 00:00:00 2001 From: Adnan Asani Date: Tue, 4 Sep 2018 14:52:25 +0200 Subject: [PATCH 2/2] chore(package): update lint command to use only stylelint and eslint --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38d868ca50..391f4ad22a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build": "build-storybook -o .public", "start": "start-storybook -p 9002", "i18n:build": "mc-scripts extract-intl --build-translations --output-path=$(pwd)/i18n 'src/components/**/!(*.spec).js'", - "lint": "jest --projects jest.*.config.js", + "lint": "jest --projects jest.eslint.config.js jest.stylelint.config.js", "lint:js": "jest --config jest.eslint.config.js", "lint:css": "jest --config jest.stylelint.config.js", "format": "npm run format:js && npm run format:css & npm run format:md",