1.0.1 • Published 12 months ago

eslint-config-eskiu v1.0.1

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
12 months ago

sq's ESLint config

No warn are used. All rules are set with error parameter. For now, only eskiu/ts and eskiu/ts-react are available

Installation

To install the config, run:

npm

npm i eslint-config-eskiu -D

yarn

yarn add eslint-config-eskiu -D

pnpm

pnpm add eslint-config-eskiu -D

In your .eslintrc.cjs:

List of configs:

  • eskiu/ts
  • eskiu/ts-react

Make sure to have a tsconfig.json

module.exports = {
  env: { browser: true, es2020: true, node: true },
  extends: ["eskiu/{CONFIG_NAME}"],
  parser: "@typescript-eslint/parser",
  parserOptions: {
    project: "./tsconfig.json",
    ecmaVersion: "latest",
    sourceType: "module",
  },
  plugins: [
    // your plugins
  ],
  rules: {
    // your rules
  },
};

Note

I'm only getting started with ESLint, there are probably rules i havent set yet but it'll be updated whenever i need. I'll take time to update that readme as well with more readable list of rules.

TODO

1.0.1

12 months ago

1.0.0

12 months ago

0.1.0

1 year ago