Skip to content

Commit

Permalink
more README fix
Browse files Browse the repository at this point in the history
  • Loading branch information
le-cong committed Oct 19, 2024
1 parent 4d3ea5c commit 002ba4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ plugins that are supported by the configuration via `peerDependencies`.
{
// ...
"scripts": {
"lint": "eslint --max-warnings 0 .",
"lint:fix": "eslint . --fix",
"lint": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning\" eslint --max-warnings 0 .",
"lint:fix": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning\" eslint . --fix",
"test": "... && npm run lint",
},
// ...
Expand All @@ -28,8 +28,7 @@ plugins that are supported by the configuration via `peerDependencies`.
### Example `eslint.config.mjs`

```javascript
import config from '@checkdigit/eslint-config';
export default [...config];
import { default } from '@checkdigit/eslint-config';
```

## License
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"ci:style": "npm run prettier",
"ci:test": "npm run ci:compile && npm run ci:lint && npm run ci:style",
"lint": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning\" eslint --max-warnings 0 .",
"lint:fix": "eslint --max-warnings 0 --fix .",
"lint:fix": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning\" eslint --max-warnings 0 --fix .",
"prepare": "",
"prettier": "prettier --ignore-path .gitignore --list-different .",
"prettier:fix": "prettier --ignore-path .gitignore --write .",
Expand Down

0 comments on commit 002ba4e

Please sign in to comment.