-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(parser): make babel-eslint a peer dep (#52)
* fix(parser): make babel-eslint a peer dep * docs(readme): specify that you need babel-eslint
- Loading branch information
Showing
3 changed files
with
68 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{ | ||
"name": "eslint-config-fullstack", | ||
"version": "4.0.0", | ||
"description": | ||
"a complete starter ESLint config file to help students avoid errors and learn best practices", | ||
"description": "a complete starter ESLint config file to help students avoid errors and learn best practices", | ||
"main": "index.js", | ||
"scripts": { | ||
"lint": "eslint ./ --ignore-path .gitignore", | ||
|
@@ -11,8 +10,15 @@ | |
"test": "mocha" | ||
}, | ||
"lint-staged": { | ||
"*.{js}": ["prettier --write", "npm run lint-fix", "git add"], | ||
"*.{json,md}": ["prettier --write", "git add"] | ||
"*.{js}": [ | ||
"prettier --write", | ||
"npm run lint-fix", | ||
"git add" | ||
], | ||
"*.{json,md}": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -36,12 +42,11 @@ | |
"author": "Gabriel Lebec <[email protected]> (https://github.com/glebec)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": | ||
"https://github.com/FullstackAcademy/eslint-config-fullstack/issues" | ||
"url": "https://github.com/FullstackAcademy/eslint-config-fullstack/issues" | ||
}, | ||
"homepage": | ||
"https://github.com/FullstackAcademy/eslint-config-fullstack#readme", | ||
"homepage": "https://github.com/FullstackAcademy/eslint-config-fullstack#readme", | ||
"devDependencies": { | ||
"babel-eslint": "^8.2.2", | ||
"chai": "^4.1.2", | ||
"eslint": "~4.19.1", | ||
"eslint-plugin-react": "~7.7.0", | ||
|
@@ -51,9 +56,8 @@ | |
}, | ||
"peerDependencies": { | ||
"eslint": "^4.19.1", | ||
"eslint-plugin-react": "^7.7.0" | ||
}, | ||
"dependencies": { | ||
"eslint-plugin-react": "^7.7.0", | ||
"babel-eslint": "^8.2.2" | ||
} | ||
}, | ||
"dependencies": {} | ||
} |