Skip to content

Commit

Permalink
Update Dependencies (#471)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
epodol authored Jan 8, 2022
1 parent 782a33f commit 70dfd3f
Show file tree
Hide file tree
Showing 55 changed files with 20,647 additions and 32,001 deletions.
23 changes: 4 additions & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true,
},
plugins: [
'react',
'@typescript-eslint',
'jest',
'jest-dom',
'react-hooks',
'jsx-a11y',
'prettier',
'import',
],
extends: [
'plugin:react/recommended',
'airbnb-typescript',
'airbnb-base',
'airbnb-typescript/base',
'plugin:jest/recommended',
'plugin:react-hooks/recommended',
'prettier',
'plugin:import/typescript',
],
Expand All @@ -38,27 +36,14 @@ module.exports = {
},
rules: {
'prettier/prettier': 'warn',
'react/jsx-filename-extension': [
2,
{ extensions: ['.js', '.jsx', '.ts', '.tsx'] },
],
'import/no-extraneous-dependencies': 0,
'react/prop-types': 0,
'react/jsx-props-no-spreading': 0,
'no-console': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/naming-convention': 'off',
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'no-console': ['warn', { allow: ['warn', 'error'] }],
},
settings: {
'import/resolver': {
node: {
paths: [__dirname + '/react'],
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
jest: {
version: 'latest',
},
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'

- name: Cache node modules
uses: actions/cache@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'

- name: Cache node modules
uses: actions/cache@v2
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'

- name: Cache node modules
uses: actions/cache@v2
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'

- name: Cache node modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'

- name: Cache node modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 BASIS Scottsdale Library
Copyright (c) 2022 BASIS Scottsdale Library

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

0 comments on commit 70dfd3f

Please sign in to comment.