0.2.0 • Published 1 year ago

@guillaumecatel/eslint-config v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@ guillaumecatel/eslint-config

ESLint shareable config for Javascript/Typescript code style.

Installation

pnpm add -D @guillaumecatel/eslint-config

# with ESLint
pnpm add -D eslint @guillaumecatel/eslint-config

Usage

In order to use this config, choose the one you want and add this configuration to your package.json:

{
 "eslintConfig": {
   "extends": [
+    "@guillaumecatel/eslint-config"
   ]
 }
}

Or add a .eslintrc.js file to your project root containing:

module.exports = {
  extends: [
+   '@guillaumecatel/eslint-config'
  ]
}

VSCode integration

We recommend turning on VSCode settings to automatically run eslint --fix on save.

"editor.codeActionsOnSave": {
+  "source.fixAll.eslint": true
}

This will automatically format your code once you save. You don't need VSCode prettier extension enabled or running on save as eslint will automatically run prettier for you.

License

MIT

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

2 years ago

6.1.1

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

5.0.0

2 years ago

4.0.0

2 years ago

3.0.0

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago

0.3.0

2 years ago

0.0.0

2 years ago