Skip to content

Commit 458f4ed

Browse files
bors[bot]bb
andauthored
Merge #123
123: Add missing packages for yarn lint and upgrade all r=curquiza a=bb Add packages for `yarn lint` and upgrade all packages. Might be fine to merge, if it doesn't break anything for you. It wasn't working for me before the changes either, so I can't test. See #124 for more information about my issues. Co-authored-by: Benjamin Bock <[email protected]>
2 parents 82f9d7e + 7d41838 commit 458f4ed

File tree

5 files changed

+507
-356
lines changed

5 files changed

+507
-356
lines changed

.eslintignore

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

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,14 @@ jobs:
3030
run: yarn test:demo:nodejs
3131
- name: Run Browser demo
3232
run: yarn test:demo:browser
33+
34+
style:
35+
name: instant-meilisearch-style-tests
36+
runs-on: ubuntu-latest
37+
38+
steps:
39+
- uses: actions/checkout@v1
40+
- name: Install dependencies
41+
run: yarn install
42+
- name: Tests style
43+
run: yarn lint

bors.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
status = ["instant-meilisearch-tests"]
1+
status = ["instant-meilisearch-tests", "instant-meilisearch-style-tests"]
22
# 1 hour timeout
33
timeout-sec = 3600

package.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,25 +40,36 @@
4040
},
4141
"devDependencies": {
4242
"@babel/cli": "^7.10.5",
43+
"@babel/core": "^7.0.0",
4344
"@babel/preset-env": "^7.10.4",
44-
"@rollup/plugin-node-resolve": "^10.0.0",
4545
"@rollup/plugin-commonjs": "^16.0.0",
46+
"@rollup/plugin-node-resolve": "^10.0.0",
47+
"@typescript-eslint/eslint-plugin": "^4.0.0",
48+
"@typescript-eslint/parser": "^4.0.0",
49+
"babel-eslint": "^10.1.0",
4650
"babel-jest": "^26.1.0",
4751
"eslint": "^7.5.0",
4852
"eslint-config-prettier": "^6.11.0",
49-
"eslint-config-standard": "^16.0.1",
53+
"eslint-config-react-app": "^6.0.0",
54+
"eslint-config-standard": "^16.0.0",
55+
"eslint-plugin-flowtype": "^5.2.0",
5056
"eslint-plugin-import": "^2.22.0",
5157
"eslint-plugin-jest": "^24.0.0",
58+
"eslint-plugin-jsx-a11y": "^6.4.1",
5259
"eslint-plugin-node": "^11.1.0",
5360
"eslint-plugin-prettier": "^3.1.4",
5461
"eslint-plugin-promise": "^4.2.1",
62+
"eslint-plugin-react": "^7.21.5",
63+
"eslint-plugin-react-hooks": "^4.2.0",
5564
"eslint-plugin-standard": "^4.0.1",
65+
"eslint-plugin-vue": "^7.1.0",
5666
"jest": "^26.1.0",
5767
"jest-watch-typeahead": "^0.6.0",
58-
"prettier": "2.1.1",
68+
"prettier": "^2.0.0",
5969
"regenerator-runtime": "^0.13.7",
6070
"rollup": "^2.23.0",
6171
"rollup-plugin-babel": "^4.4.0",
62-
"rollup-plugin-terser": "^7.0.0"
72+
"rollup-plugin-terser": "^7.0.0",
73+
"typescript": "^4.0.0"
6374
}
6475
}

0 commit comments

Comments
 (0)