Skip to content
/ config Public

Shareable configurations (eslint, prettier, editorconfig)

License

Notifications You must be signed in to change notification settings

fe-eule/config

Repository files navigation

config

eslint-config-fe-euleprettier-configeditorconfig

Installation

npm i -D @fe-eule/editorconfig @fe-eule/prettier-config eslint-config-fe-eule

Setup

eslint

//.eslintrc.js
module.exports = {
  extends: ["fe-eule"],
};

prettier

Prettier Sharing configurations

package.json

{
  "name": "my-cool-library",
  "version": "9000.0.1",
  "prettier": "@fe-eule/prettier-config"
}

or

.prettierrc.js

module.exports = {
  ...require("@fe-eule/prettier-config"),
  semi: false,
};

editorconfig

When installed, it will be created automatically. There is nothing to do. This is the end.