Skip to content

Commit

Permalink
fix(eslint): .eslintrc renamed to .eslintrc.json
Browse files Browse the repository at this point in the history
eslint is deprecating .eslintrc
  • Loading branch information
valorkin committed Apr 4, 2016
1 parent b4fca08 commit e6e05ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- create `.eslintrc.json` near to you `package.json` with the following content
```json
{
"extends": "./node_modules/eslint-config-valorsoft/.eslintrc",
"extends": "./node_modules/eslint-config-valorsoft/.eslintrc.json",
"env": {
"node": true
}
Expand Down
2 changes: 1 addition & 1 deletion test/config.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const path = require('path');
const expect = require('chai').expect;
const stripComments = require('strip-json-comments');

const config = JSON.parse(stripComments(readFile('.eslintrc')));
const config = JSON.parse(stripComments(readFile('.eslintrc.json')));
const rulesInConfig = Object.keys(config.rules);
const rulesInEslint = fs.readdirSync('./node_modules/eslint/lib/rules');

Expand Down

0 comments on commit e6e05ac

Please sign in to comment.