@krist7599555/harmony-editorconfig

0.1.4 • Public • Published

@krist7599555/harmony-editorconfig

is inspire from harmony to centralize config for eslint, prettier, taliwindcss, svelte

// .vscode/settings.json
{
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.formatOnSaveMode": "file",
  "prettier.documentSelectors": ["**/*.svelte"],
  "editor.codeActionsOnSave": {
    "source.fixAll.esbenp.prettier-vscode": true,
    "source.fixAll.eslint": true,
    "source.fixAll.stylelint": true
  }
}
// .eslintrc.cjs
module.exports = {
  ...require('./node_modules/@krist7599555/harmony-editorconfig/.eslintrc.cjs'),
};
// .prettierrc.cjs
module.exports = {
  ...require('./node_modules/@krist7599555/harmony-editorconfig/.prettierrc.cjs'),
};
// postcss.config.cjs
module.exports = {
  ...require('./node_modules/@krist7599555/harmony-editorconfig/postcss.config.cjs'),
};
// tailwind.config.cjs
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ['./src/**/*.{svelte,ts,html}'],
  theme: {
    extend: {},
  },
  plugins: [],
};

Readme

Keywords

Package Sidebar

Install

npm i @krist7599555/harmony-editorconfig

Weekly Downloads

0

Version

0.1.4

License

ISC

Unpacked Size

58.1 kB

Total Files

6

Last publish

Collaborators

  • krist7599555