Skip to content

Commit 80c7fd8

Browse files
authored
Merge pull request #137 from caktus/develop
Production Release August 22, 2022
2 parents d0f1b17 + 180571f commit 80c7fd8

File tree

147 files changed

+87764
-12120
lines changed

Some content is hidden

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

147 files changed

+87764
-12120
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:12.16-alpine as static_files
1+
FROM node:16.16-alpine3.16 as static_files
22

33
WORKDIR /code
44
ENV PATH /code/node_modules/.bin:$PATH
12.4 KB
Binary file not shown.

frontend/.eslintrc.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
2+
"parserOptions": {
3+
// Required for certain syntax usages
4+
"ecmaVersion": 2020
5+
},
26
"extends": ["airbnb", "prettier"],
37
"plugins": ["prettier", "cypress"],
48
"env": {
@@ -14,6 +18,7 @@
1418
],
1519
"prefer-template": "off",
1620
"react/prop-types": "off",
21+
"react/require-default-props": "off",
1722
"dot-notation": "off",
1823
"no-use-before-define": "off",
1924
"no-underscore-dangle": "off",

frontend/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ We're using [React Router](https://reactrouter.com/web/guides/quick-start) for s
1414

1515
## Async bundles
1616

17-
This project makes use of [code-splitting](https://reactjs.org/docs/code-splitting.html) in tandem with routing, to allow dynamic loading of bundles based on the URL visited. See [AsyncRoute.js](src/Components/Containers/AsyncRoute.js) for implementation, and [Charts.js](src/Components/Charts/Charts.js) for example usage.
17+
This project makes use of [code-splitting](https://reactjs.org/docs/code-splitting.html) in tandem with routing, to allow dynamic loading of bundles based on the URL visited. See [FJRoute.js](src/Components/Containers/FJRoute.js) for implementation, and [Charts.js](src/Components/Charts/Charts.js) for example usage.
1818

1919
## Loading/Skeletons
2020

frontend/cypress/integration/charts_spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AGENCY_DATA_SLUG, AGENCY_LIST_SLUG } from '../../src/Routes/slugs';
2-
import { MIN_DELAY } from '../../src/Components/Containers/AsyncRoute';
2+
import { MIN_DELAY } from '../../src/Components/Containers/FJRoute';
33
import { getStopsByReasonURL } from '../../src/Services/endpoints';
44

55
describe('Chart behavior', () => {

frontend/cypress/plugins/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
/**
1616
* @type {Cypress.PluginConfig}
1717
*/
18+
// eslint-disable-next-line no-unused-vars
1819
module.exports = (on, config) => {
1920
// `on` is used to hook into various events Cypress emits
2021
// `config` is the resolved Cypress config
21-
}
22+
};

frontend/cypress/support/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// ***********************************************************
1515

1616
// Import commands.js using ES2015 syntax:
17-
import './commands'
17+
import './commands';
1818

1919
// Alternatively you can use CommonJS syntax:
2020
// require('./commands')

0 commit comments

Comments
 (0)