-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update archetype component eslint (#251)
* Update archetype component eslint * wip * Update oss electrode archetype component Eslint * Remove changes in archetype app * Migrating to v3: The ecmaFeatures property is now under a top-level parserOptions property.
- Loading branch information
Showing
7 changed files
with
16 additions
and
21 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
2 changes: 1 addition & 1 deletion
2
packages/electrode-archetype-react-component/config/eslint/.eslintrc-base
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,3 +1,3 @@ | ||
--- | ||
extends: | ||
- "eslint-config-defaults/configurations/eslint.js" | ||
- "eslint-config-walmart/configurations/es6.js" |
10 changes: 1 addition & 9 deletions
10
packages/electrode-archetype-react-component/config/eslint/.eslintrc-node
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,11 +1,3 @@ | ||
--- | ||
extends: | ||
- "eslint-config-defaults/configurations/walmart/es5-node" | ||
|
||
# Our subset of Node ES features. | ||
# Switch to `es6-node` config when ready for Node.js + ES specifically. | ||
# https://github.com/walmartlabs/eslint-config-defaults/issues/58 | ||
ecmaFeatures: | ||
blockBindings: true | ||
arrowFunctions: true | ||
templateStrings: true | ||
- "eslint-config-walmart/configurations/es5-node" |
2 changes: 1 addition & 1 deletion
2
packages/electrode-archetype-react-component/config/eslint/.eslintrc-react
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
2 changes: 1 addition & 1 deletion
2
packages/electrode-archetype-react-component/config/eslint/.eslintrc-react-test
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
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
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