-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update to new eslint-config (#75)
- Loading branch information
Showing
10 changed files
with
297 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"@moxy/eslint-config-isomorphic", | ||
"@moxy/eslint-config-jest", | ||
"@moxy/eslint-config-react" | ||
] | ||
"@moxy/eslint-config-base/esm", | ||
"@moxy/eslint-config-babel", | ||
"@moxy/eslint-config-react", | ||
"@moxy/eslint-config-react-web-a11y", | ||
"@moxy/eslint-config-jest" | ||
], | ||
"rules": { | ||
// Next.js <Link> component doesn't play nice with anchor validation | ||
"jsx-a11y/anchor-is-valid": 0 | ||
} | ||
} |
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,5 @@ | ||
'use strict'; | ||
|
||
module.exports = (api) => { | ||
api.cache(true); | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"root": true, | ||
"overrides": [ | ||
{ | ||
"files": "./**/*.js", | ||
"excludedFiles": "./sidebars.js", | ||
"env": { | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"@moxy/eslint-config-base/esm", | ||
"@moxy/eslint-config-babel", | ||
"@moxy/eslint-config-react", | ||
"@moxy/eslint-config-jest" | ||
] | ||
}, | ||
{ | ||
"files": "./sidebars.js", | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"@moxy/eslint-config-base/cjs" | ||
] | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
docs: [ | ||
{ | ||
|
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,5 @@ | ||
'use strict'; | ||
|
||
const { compose, baseConfig, withWeb, withRTL } = require('@moxy/jest-config'); | ||
|
||
module.exports = compose([baseConfig, withWeb, withRTL]); |
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
Oops, something went wrong.
4e09b3b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: