Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a1d8282

Browse files
chore: added support for React Router 6
1 parent 192f75f commit a1d8282

24 files changed

+15314
-500
lines changed

‎.babelrc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
2-
"presets": ["es2015-loose", "stage-1", "react"],
3-
"plugins": ["add-module-exports"]
4-
}
2+
"presets": [
3+
"@babel/env",
4+
"@babel/react"
5+
],
6+
"plugins": [
7+
"@babel/plugin-proposal-object-rest-spread"
8+
]
9+
}

‎.eslintrc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
{
22
"extends": "airbnb",
3-
"parser": "babel-eslint"
3+
"parser": "babel-eslint",
4+
"rules": {
5+
"react/jsx-filename-extension": "off",
6+
"import/no-extraneous-dependencies": "off",
7+
"react/jsx-props-no-spreading": "off",
8+
"max-len":"off",
9+
"no-nested-ternary":"off"
10+
},
11+
"env": {
12+
"browser": true,
13+
"node": true
14+
}
415
}

‎.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Node.js CI
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Use Node.js
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: 14.x
16+
- run: npm ci
17+
- run: npm run build
18+
- run: npm test

‎.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ amd
66
lib
77
tmp-bower-repo
88
.idea
9-
package-lock.json

‎.travis.yml

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

‎karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const webpack = require('webpack');
22

3-
module.exports = config => {
3+
module.exports = (config) => {
44
const { env } = process;
55

66
const isCi = env.CONTINUOUS_INTEGRATION === 'true';

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /