-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added eslint to fix travis build OKTA-473377 <<<Jenkins Check-In of Tested SHA: 708e0ce for [email protected]>>> Artifact: samples-js-react Files changed count: 6 PR Link: "#256"
- Loading branch information
1 parent
08beb21
commit 213b16a
Showing
6 changed files
with
11,796 additions
and
980 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
dist | ||
build | ||
build2 | ||
/scripts | ||
/tools | ||
okta-oidc-tck | ||
samples-nodejs-express-4 |
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,51 @@ | ||
// https://eslint.org/docs/user-guide/configuring | ||
|
||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020, | ||
ecmaFeatures: { | ||
jsx: true | ||
} | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:import/recommended', | ||
'plugin:import/typescript', | ||
'plugin:react/recommended', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
], | ||
plugins: [ | ||
'import', | ||
'@typescript-eslint', | ||
'react', | ||
'react-hooks' | ||
], | ||
rules: { | ||
'react/prop-types': 0 | ||
}, | ||
env: { | ||
node: true, | ||
browser: true | ||
}, | ||
settings: { | ||
'react': { | ||
'version': '16.8', | ||
} | ||
}, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/*.test.jsx' | ||
], | ||
env: { | ||
jest: true | ||
}, | ||
rules: { | ||
'react/display-name': 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 |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
"vite": "^2.8.0", | ||
"dotenv": "^16.0.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 |
---|---|---|
|
@@ -24,4 +24,4 @@ | |
"vite": "^2.8.0", | ||
"dotenv": "^16.0.0" | ||
} | ||
} | ||
} |
Oops, something went wrong.