react-headings 3.0.15 → 3.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -35,7 +35,7 @@ References:
35
35
  - Typed with TypeScript
36
36
  - Fully tested
37
37
  - Works with any CSS solutions (Tailwind, CSS-in-JS, etc.)
38
- - Plays nicely with component librairies (Material UI, etc.)
38
+ - Plays nicely with component libraries (Material UI, etc.)
39
39
  - Follows [semantic versioning](https://semver.org/)
40
40
 
41
41
  ## Installation
@@ -146,9 +146,9 @@ function App() {
146
146
  }
147
147
  ```
148
148
 
149
- ### Using component librairies
149
+ ### Using component libraries
150
150
 
151
- Leveraging `Component` and `level` from the context allows the use of component librairies.
151
+ Leveraging `Component` and `level` from the context allows the use of component libraries.
152
152
  Here's an example with [Material UI](https://material-ui.com/api/typography/):
153
153
 
154
154
  ```jsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-headings",
3
- "version": "3.0.15",
3
+ "version": "3.0.19",
4
4
  "description": "HTML headings with auto-incrementing levels for WCAG compliance.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,6 +22,7 @@
22
22
  "homepage": "https://github.com/alexnault/react-headings#readme",
23
23
  "scripts": {
24
24
  "build": "rm -rf ./dist && tsc",
25
+ "lint": "eslint src/ --max-warnings=0",
25
26
  "test": "jest"
26
27
  },
27
28
  "files": [
@@ -40,7 +41,6 @@
40
41
  "conventional-changelog-conventionalcommits": "^4.6.1",
41
42
  "eslint": "^7.32.0",
42
43
  "eslint-config-prettier": "^8.3.0",
43
- "eslint-config-react-app": "^6.0.0",
44
44
  "jest": "^27.2.4",
45
45
  "prettier": "^2.2.1",
46
46
  "react": "^17.0.2",