Skip to content

Commit

Permalink
Update use-an-eslint-config-file.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dilanx authored Dec 21, 2022
1 parent b557491 commit 47fb53b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions website/recipes/use-an-eslint-config-file.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Use an ESLint config file

```js title="craco.config.js"
const { ESLINT_MODES } = require('@craco/craco');

module.exports = {
eslint: {
mode: ESLINT_MODES.file,
mode: 'file',
},
};
```
Expand Down

0 comments on commit 47fb53b

Please sign in to comment.