@tyankatsu0105/eslint-plugin

0.13.2 • Public • Published

@tyankatsu0105/eslint-plugin

npm version deploy

ESLint rules for TypeScript with TypeScript.

Usage

npm i -D eslint @tyankatsu0105/eslint-plugin
module.exports = {
  parser: "@typescript-eslint/parser",
  parserOptions: {
    sourceType: "module",
  },
  plugins: ["@tyankatsu0105"],
  rules: {
    "@tyankatsu0105/prefer-function-component-type": [
      "error",
      { prefer: "React.FC" },
    ],
  },
};

Rules

Docs

Configs

Readme

If you want to know about how to use scoped ESLint plugin, see: https://github.com/eslint/eslint/issues/9903

development

Branches

  • master => Release branch
  • develop => Development branch (default)
  • topic branches => From develop branch

sandbox

If you want to check eslint error, make files in the sandbox dir.

# make files
npm run gen:sandbox

# run eslint for sandbox dir
npm run sandbox

Inspired by these

LICENSE (MIT)

See LICENSE

Package Sidebar

Install

npm i @tyankatsu0105/eslint-plugin

Weekly Downloads

1

Version

0.13.2

License

MIT

Unpacked Size

18.1 kB

Total Files

17

Last publish

Collaborators

  • tyankatsu0105