Skip to content

Commit

Permalink
Document how to ignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevp committed May 8, 2024
1 parent 5b1ddd9 commit e5251ed
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions eslint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,22 @@ export default config.configs.react;

To run eslint, you'll just need `eslint .` or `eslint . --fix`.

### Ignores files
If you need to ignore specific files (for example, the build output)

```js
// eslint.config.js
import config from "./eslint-config/index.js";

export default [
...config.configs.default,
{
ignores: [
"dist/"
],
},
];
```

## Versioning
Except for patch versions, all packages in from [@tree-company/linting-config](https://github.com/tree-company/linting-config) are released at the same time, with the same version.

0 comments on commit e5251ed

Please sign in to comment.