Git Product home page Git Product logo

eslint-config-kit's Introduction

The new version has solved a lot of problems:

  • You don't need @eslint-kit/cli anymore:
    • Only one dependency. No eslint, no prettier, no plugins, parsers, resolvers and so on.
    • Blazingly fast setup. Just install @eslint-kit/configure, create .eslintrc.js and select presets you need.
    • Very short syntax, including alises setup.
    • The order of preset calls is no longer matter
  • ESLint v8 and new versions of everything
  • A lot of presets, including vue, solid, svelte, nest.js and other technologies
  • Automatic updates for typescript preset - no warnings in console
  • Better version control

ESLint Config Kit


ESLint Kit is a collection of useful ESLint configs for much more convenient project developing:

  • ⚡️ Easy and fast installation using @eslint-kit/cli
  • ⚙️ Only necessary rules to provide error checking and readability improving.
  • 🧩 Modular usage. Easily combine presets for the different technologies.
  • 🔗 Almost conflict free.

Here is the example for TypeScript React project:

{
  "extends": [
    "@eslint-kit/patch",
    "@eslint-kit/base",
    "@eslint-kit/typescript",
    "@eslint-kit/react"
  ],
  "parser": "@typescript-eslint/parser"
}

Usage

Check out our documentation.

Common issues

Check out the Common issues section in docs.

Contributing

Check out the Contributing section in docs.

eslint-config-kit's People

Contributors

bakugod avatar dependabot[bot] avatar github-actions[bot] avatar renovate-bot avatar sergeysova avatar zarabotaet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

eslint-config-kit's Issues

Plugin collision occurs when trying to use base and typescript configs

Hello, thank you for this package! I have faced an error when trying to use both /base and /typescript configs,

Oops! Something went wrong! :(

ESLint: 7.26.0

ESLint couldn't determine the plugin "import" uniquely.

- /Users/tauka/Documents/dynamik/robotmation/three-editor/node_modules/@eslint-kit/eslint-config-typescript/node_modules/eslint-plugin-import/lib/index.js (loaded in ".eslintrc.js » @eslint-kit/eslint-config-typescript")
- /Users/tauka/Documents/dynamik/robotmation/three-editor/node_modules/@eslint-kit/eslint-config-base/node_modules/eslint-plugin-import/lib/index.js (loaded in ".eslintrc.js » @eslint-kit/eslint-config-base")

Please remove the "plugins" setting from either config or remove either plugin installation.

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/release.yml
  • actions/checkout master
  • actions/setup-node master
  • changesets/action master
.github/workflows/test.yml
  • actions/checkout master
  • actions/setup-node master
.github/workflows/typescript-auto-update-release.yml
  • actions/checkout master
  • actions/setup-node master
  • ncipollo/release-action v1
npm
package.json
  • @babel/cli ^7.10.1
  • @babel/core ^7.10.2
  • @babel/preset-env ^7.10.2
  • @babel/preset-typescript ^7.13.0
  • @changesets/cli ^2.16.0
  • @commitlint/cli ^12.1.4
  • @commitlint/config-conventional ^12.1.4
  • @rollup/plugin-commonjs ^19.0.0
  • @rollup/plugin-json ^4.1.0
  • @rollup/plugin-node-resolve ^13.0.0
  • @rollup/plugin-typescript ^8.2.1
  • @types/jest ^27.4.1
  • babel-eslint ^10.1.0
  • commitizen ^4.2.4
  • commitlint-config-cz ^0.13.2
  • cz-customizable ^6.3.0
  • eslint 7.32.0
  • eslint-plugin-prettier ^3.1.2
  • execa ^4.0.2
  • find ^0.3.0
  • glob ^7.1.6
  • husky ^6.0.0
  • jest ^27.5.1
  • jest-serializer-path ^0.1.15
  • lerna ^3.22.1
  • lint-staged ^11.0.0
  • prettier 2.3.0
  • rimraf ^3.0.2
  • rollup ^2.16.0
  • rollup-plugin-babel ^4.4.0
  • rollup-plugin-terser ^6.1.0
  • ts-jest ^27.1.3
  • typescript ^4.3.5
packages/cli/package.json
  • chalk ^3.0.0
  • commander ^5.0.0-2
  • deepmerge ^4.2.2
  • glob ^7.1.7
  • glob-promise ^4.1.0
  • inquirer 7.0.4
  • mem ^6.0.1
  • nanoid ^2.1.11
  • ora ^4.0.3
  • semver ^7.3.5
  • yamljs 0.3.0
  • @types/deepmerge ^2.2.0
  • @types/inquirer 6.5.0
  • @types/jest 25.1.2
  • @types/nanoid ^2.1.0
  • @types/node 12.12.21
  • @types/ora ^3.2.0
  • @types/rimraf 2.0.3
  • @types/semver ^7.3.4
  • @types/webpack-node-externals 1.7.1
  • @types/yamljs 0.2.30
  • delete-empty 3.0.0
  • jest 26.6.3
  • rimraf ^3.0.1
  • ts-jest 26.5.6
  • ts-loader 6.2.1
  • ts-node 8.6.2
  • typescript ^3.7.5
  • node >= 8.9.0
  • npm >= 5.5.1
packages/eslint-config-base/package.json
  • eslint-plugin-import 2.25.4
  • eslint-plugin-sonarjs 0.12.0
  • eslint-plugin-unicorn 41.0.0
  • eslint ^8.9.0
packages/eslint-config-node/package.json
  • eslint ^8.9.0
packages/eslint-config-patch/package.json
  • @rushstack/eslint-patch 1.0.6
  • eslint ^8.9.0
packages/eslint-config-prettier/package.json
  • eslint-plugin-prettier 4.0.0
  • @trivago/prettier-plugin-sort-imports 3.2.0
  • eslint ^8.9.0
packages/eslint-config-react-new-jsx-transform/package.json
  • eslint ^8.9.0
packages/eslint-config-react/package.json
  • eslint-plugin-react 7.28.0
  • eslint-plugin-react-hooks 4.3.0
  • eslint ^8.9.0
packages/eslint-config-typescript/package.json
  • @typescript-eslint/eslint-plugin 5.19.0
  • @typescript-eslint/parser 5.19.0
  • eslint ^8.9.0

  • Check this box to trigger a request for Renovate to run again on this repository

Svelte support

Clear and concise description of the problem

I would like intergrated support for svelte, kinda like how the react one exists

The solution you'd like

Add a new module called @eslint-kit/svelte which you can use

Additional context

My entire project uses svelte

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid packageRules[1].schedule: 'Invalid schedule: "0 */4 * * *" has cron syntax, but doesn't have * as minutes'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.