Skip to content

Commit

Permalink
Eslint Plugin: Lint code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
epiqueras committed Jan 31, 2020
1 parent 0194925 commit f5c44ea
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
33 changes: 29 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion packages/eslint-plugin/configs/recommended.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
module.exports = {
extends: [ require.resolve( './recommended-with-formatting.js' ), 'eslint-config-prettier' ],
extends: [
require.resolve( './recommended-with-formatting.js' ),
'plugin:prettier/recommended',
'prettier/react',
],
};
1 change: 1 addition & 0 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"eslint-plugin-jest": "^22.15.1",
"eslint-plugin-jsdoc": "^15.8.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^1.6.1",
"globals": "^12.0.0",
Expand Down

0 comments on commit f5c44ea

Please sign in to comment.