Skip to content

Commit b49a813

Browse files
authored
Merge pull request #48 from oxyno-zeta/release/2.3.0
2 parents a84cb91 + 0009824 commit b49a813

Some content is hidden

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

47 files changed

+13418
-8793
lines changed

.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.json

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
2-
"extends": "airbnb",
2+
"root": true,
3+
"extends": ["airbnb"],
34
"env": {
45
"es6": true,
56
"browser": true
@@ -13,36 +14,14 @@
1314
"jsx": true
1415
},
1516
"rules": {
16-
"indent": [
17-
2,
18-
4,
19-
{
20-
"SwitchCase": 1
21-
}
22-
],
23-
"react/jsx-indent-props": [
24-
2,
25-
4
26-
],
27-
"react/jsx-filename-extension": [
28-
0
29-
],
30-
"react/jsx-indent": [
31-
2,
32-
4
33-
],
34-
"jsx-a11y/no-static-element-interactions": [
35-
1
36-
],
37-
"no-use-before-define": [
38-
0
39-
],
40-
"max-len": [
41-
2,
42-
120
43-
],
44-
"import/extensions": [
45-
2
46-
]
17+
"import/extensions": [2],
18+
"import/prefer-default-export": ["off"],
19+
"indent": [2, 4, {"SwitchCase": 1}],
20+
"jsx-a11y/no-static-element-interactions": [1],
21+
"max-len": [2, 120],
22+
"no-use-before-define": [0],
23+
"react/jsx-filename-extension": [0],
24+
"react/jsx-indent": [2, 4],
25+
"react/jsx-indent-props": [2, 4]
4726
}
48-
}
27+
}

.github/workflows/node.js.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on: [push, pull_request]
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [18]
16+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: 'npm'
25+
- run: yarn install --frozen-lockfile
26+
- run: yarn run build

0 commit comments

Comments
 (0)