Skip to content

Commit

Permalink
add @yext/export-star eslint usage
Browse files Browse the repository at this point in the history
J=SLAP-1675
TEST=manual

saw the eslint notify me if I export an additional nswersConfig interface
  • Loading branch information
oshi97 committed Nov 18, 2021
1 parent ced7e2c commit 05b46c5
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 19 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module.exports = {
extends: ['react-app', 'plugin:@typescript-eslint/recommended', 'plugin:react-perf/recommended'],
extends: [
'react-app',
'plugin:@typescript-eslint/recommended',
'plugin:react-perf/recommended',
'plugin:@yext/export-star/recommended'
],
plugins: ['react-perf'],
ignorePatterns: ['sample-app', 'lib', 'tests/setup/responses'],
rules: {
Expand Down
266 changes: 248 additions & 18 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"@yext/eslint-plugin-export-star": "^1.0.0",
"eslint": "^7.32.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.8.2",
Expand Down

0 comments on commit 05b46c5

Please sign in to comment.