Skip to content

Commit 70dfd3f

Browse files
authored
Update Dependencies (#471)
* Update Dependencies * Fix ESLint Issue * Update GitHub Workflows Node Version * Remove left over console.logs * Update year to 2022 * Update Package Version to v0.4.2
1 parent 782a33f commit 70dfd3f

55 files changed

Lines changed: 20647 additions & 32001 deletions

Some content is hidden

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

.eslintrc.js

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
module.exports = {
2+
root: true,
23
env: {
34
browser: true,
45
es2021: true,
56
node: true,
67
},
78
plugins: [
8-
'react',
99
'@typescript-eslint',
1010
'jest',
1111
'jest-dom',
12-
'react-hooks',
1312
'jsx-a11y',
1413
'prettier',
1514
'import',
1615
],
1716
extends: [
18-
'plugin:react/recommended',
19-
'airbnb-typescript',
17+
'airbnb-base',
18+
'airbnb-typescript/base',
2019
'plugin:jest/recommended',
21-
'plugin:react-hooks/recommended',
2220
'prettier',
2321
'plugin:import/typescript',
2422
],
@@ -38,27 +36,14 @@ module.exports = {
3836
},
3937
rules: {
4038
'prettier/prettier': 'warn',
41-
'react/jsx-filename-extension': [
42-
2,
43-
{ extensions: ['.js', '.jsx', '.ts', '.tsx'] },
44-
],
45-
'import/no-extraneous-dependencies': 0,
46-
'react/prop-types': 0,
47-
'react/jsx-props-no-spreading': 0,
48-
'no-console': 'off',
4939
'no-use-before-define': 'off',
5040
'@typescript-eslint/no-use-before-define': 'off',
5141
'@typescript-eslint/naming-convention': 'off',
5242
'no-shadow': 'off',
5343
'@typescript-eslint/no-shadow': ['error'],
44+
'no-console': ['warn', { allow: ['warn', 'error'] }],
5445
},
5546
settings: {
56-
'import/resolver': {
57-
node: {
58-
paths: [__dirname + '/react'],
59-
extensions: ['.js', '.jsx', '.ts', '.tsx'],
60-
},
61-
},
6247
jest: {
6348
version: 'latest',
6449
},

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/setup-node@v2
1818
with:
19-
node-version: '14'
19+
node-version: '16'
2020

2121
- name: Cache node modules
2222
uses: actions/cache@v2

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node
1818
uses: actions/setup-node@v2
1919
with:
20-
node-version: '14'
20+
node-version: '16'
2121

2222
- name: Cache node modules
2323
uses: actions/cache@v2
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Node
5151
uses: actions/setup-node@v2
5252
with:
53-
node-version: '14'
53+
node-version: '16'
5454

5555
- name: Cache node modules
5656
uses: actions/cache@v2
@@ -84,7 +84,7 @@ jobs:
8484
- name: Setup Node
8585
uses: actions/setup-node@v2
8686
with:
87-
node-version: '14'
87+
node-version: '16'
8888

8989
- name: Cache node modules
9090
uses: actions/cache@v2

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node
1818
uses: actions/setup-node@v2
1919
with:
20-
node-version: '14'
20+
node-version: '16'
2121

2222
- name: Cache node modules
2323
uses: actions/cache@v2

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 BASIS Scottsdale Library
3+
Copyright (c) 2022 BASIS Scottsdale Library
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)