Skip to content

kresnahendri/eslint-config-ts-kresnahendri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-ts-kresnahendri

Usage

.eslintrc

{
  "root": true,
  "extends": "ts-kresnahendri",
  "rules": {
    "semi": ["error", "never"],
    "react/react-in-jsx-scope": "off",
    "import/no-named-as-default": "off",
    "class-methods-use-this": "off",
    "no-useless-constructor": "off",
    "react/function-component-definition": "off",
    "dot-notation": "off",
    "@typescript-eslint/ban-ts-comment": "off"
  }
}

.prettierrc

{
  "bracketSpacing": true,
  "jsxBracketSameLine": true,
  "singleQuote": false,
  "trailingComma": "all",
  "semi": false
}

About

Custom ESLint config for Typescript projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published