Skip to content

Commit

Permalink
Add extensions to .eslintrc (gatsbyjs#5206)
Browse files Browse the repository at this point in the history
- Add .json or .yaml extension to .eslintrc files

```shell
$ cd ./packages
$ rename 's/.eslintrc/.eslintrc.yaml/' `find . -name .eslintrc`
$ cd ../
$ rename 's/.eslintrc/.eslintrc.json/' `find . -name .eslintrc`
```

- Tweak plopfile.js to add .json extension to examples to be generated

Signed-off-by: Masato Ohba <[email protected]>
  • Loading branch information
Masato Ohba authored and KyleAMathews committed May 1, 2018
1 parent 70df077 commit e9a5659
Show file tree
Hide file tree
Showing 37 changed files with 1 addition and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion plopfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module.exports = function(plop) {
},
{
type: `add`,
path: `examples/{{kebabCase name}}/.eslintrc`,
path: `examples/{{kebabCase name}}/.eslintrc.json`,
templateFile: `plop-templates/example/.eslintrc.hbs`,
},
],
Expand Down

0 comments on commit e9a5659

Please sign in to comment.