Skip to content

Commit 4ac004a

Browse files
authored
chore: remove outdated information in the README (#434)
1 parent f9139fd commit 4ac004a

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

README.md

+2-29
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ Linting and formatting configuration shared by Netlify Node.js repositories:
1414
If you're creating a new repository, you can use the
1515
[following GitHub template](https://github.com/netlify/node-template). Otherwise, please follow those steps:
1616

17-
- Add a `.eslintrc.js` file to the root of the project. Based on the type of the project update the content of the file:
18-
19-
### Node.js project
17+
- Add a `.eslintrc.js` file to the root of the project. Individual `rules` and `overrides` can be tweaked for the
18+
specific project.
2019

2120
```js
2221
const { overrides } = require('@netlify/eslint-config-node')
@@ -28,32 +27,6 @@ module.exports = {
2827
}
2928
```
3029

31-
### React application
32-
33-
```js
34-
const { overrides } = require('@netlify/eslint-config-node/react_config')
35-
36-
module.exports = {
37-
extends: '@netlify/eslint-config-node/react_config',
38-
rules: {},
39-
overrides: [...overrides],
40-
}
41-
```
42-
43-
### Vanilla JS in HTML files
44-
45-
```js
46-
const { overrides } = require('@netlify/eslint-config-node/vanilla_js_config')
47-
48-
module.exports = {
49-
extends: '@netlify/eslint-config-node/vanilla_js_config',
50-
rules: {},
51-
overrides: [...overrides],
52-
}
53-
```
54-
55-
> Individual `rules` and `overrides` can be tweaked for the specific project.
56-
5730
- Add the following `.prettierrc.json` to the root of the project:
5831

5932
```json

0 commit comments

Comments
 (0)