Skip to content

Commit

Permalink
Small code refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveBathnes committed Feb 4, 2025
1 parent d1f6510 commit 84b189c
Show file tree
Hide file tree
Showing 10 changed files with 347 additions and 305 deletions.
19 changes: 9 additions & 10 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@ module.exports = {
browser: true,
es2021: true
},
extends: [
'standard',
'plugin:react/recommended'
],
extends: ['standard', 'plugin:react/recommended'],
overrides: [
{
env: {
node: true
},
files: [
'.eslintrc.{js,cjs}'
],
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script'
}
Expand All @@ -24,9 +19,13 @@ module.exports = {
ecmaVersion: 'latest',
sourceType: 'module'
},
plugins: [
'react'
],
plugins: ['react'],
rules: {
'no-restricted-imports': [
'error',
{
patterns: ['@mui/*/*/*']
}
]
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is a widget that helps users find libraries in their area.

[LibraryOn](https://libraryon.org/) is a project to connect libraries and people. The project goal is "to increase the number of people who use libraries, both in person and online."

The website includes a library finder, with details of the library locations in England. The underlying data used in the library finder is published as part of an API. The API is available at [https://libraryon.org/api-docs/v1](https://libraryon.org/api-docs/v1).
The website includes a library finder, with details of the library locations in England. The underlying data used in the library finder is published as part of an API.

## Getting Started

Expand Down
Loading

0 comments on commit 84b189c

Please sign in to comment.