Skip to content

oktadev/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-okta

Shared ESLint config for Okta products.

In addition to generic JS linter rules, this includes rules for TypeScript, React, and Node.js.

Usage

There are two configurations available for use, either eslint-config-okta, or eslint-config-okta/strict. The base configuration helps with transitioning over to the strict configuration.

In your project's package.json:

  "eslintConfig": {
    "extends": "eslint-config-okta/strict"
  },

...or in your project's .eslintrc:

"extends": [
  "eslint-config-okta/strict"
],