Skip to content

Commit

Permalink
update: README and package name
Browse files Browse the repository at this point in the history
  • Loading branch information
unsigned6 committed Nov 17, 2022
1 parent a6774b8 commit 8aac0d3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 28 deletions.
65 changes: 38 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,45 @@

1. Install config with eslint and eslint plugins

```
npm install --save-dev \
@exabyte-io/eslint-config \
@babel/[email protected] \
@babel/[email protected] \
@babel/[email protected] \
@babel/[email protected] \
@babel/register@^7.16.0 \
@babel/[email protected] \
[email protected] \
[email protected] \
[email protected] \
eslint-import-resolver-exports@^1.0.0-beta.2 \
eslint-import-resolver-meteor@^0.4.0 \
eslint-import-resolver-node@^0.3.6 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected]
```
```
npm install --save-dev \
@exabyte-io/eslint-config \
@babel/[email protected] \
@babel/[email protected] \
@babel/[email protected] \
@babel/[email protected] \
@babel/register@^7.16.0 \
@babel/[email protected] \
[email protected] \
[email protected] \
[email protected] \
eslint-import-resolver-exports@^1.0.0-beta.2 \
eslint-import-resolver-meteor@^0.4.0 \
eslint-import-resolver-node@^0.3.6 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected]
```


2. Create own `.eslintrc.json`:

```
{
"extends": "@exabyte-io/eslint-config"
}
```
```JSON
{
"extends": "@exabyte-io/eslint-config"
}
```

3. Add prettier config `.prettierrc`:

```JSON
{
"singleQuote": false,
"printWidth": 100,
"trailingComma": "all",
"tabWidth": 4
}
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@exabyte-io/eslint-config-mat3ra",
"name": "@exabyte-io/eslint-config",
"version": "1.0.0",
"description": "Eslint configuration extension to be reused across all mat3ra projects.",
"scripts": {
Expand Down

0 comments on commit 8aac0d3

Please sign in to comment.