Skip to content

We know everyone thinks they have the best code style config, but ours is definitely better! πŸ˜‰

Notifications You must be signed in to change notification settings

studio-fonkel/eslint-config-fonkel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

@fonkel/eslint-config-fonkel

Default ESLint config for Fonkel.

Installation

Install using your Node.js package manager of choice:

pnpm i @fonkel/eslint-config-fonkel -D # or npm/yarn/etc.

You need to have NPM package eslint installed in order to start using ESLint with this configuration. Assuming your IDE of choice is VSCode, it's recommended to install VSCode plugin "ESLint" by Dirk Baeumer and set it up as follows in your VSCode workspace's settings.json:

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "eslint.packageManager": "{{ insert workspace NPM package manager here }}",
  "eslint.validate": [
    "javascript",
  ],
}

Your .eslintrc.json should at the very least look like this to use this config:

{
  "extends": "@fonkel/eslint-config-fonkel"
}

See https://eslint.org/docs/developer-guide/shareable-configs for more info on shareable ESLint configs.

About

We know everyone thinks they have the best code style config, but ours is definitely better! πŸ˜‰

Topics

Resources

Stars

Watchers

Forks