@krist7599555/harmony-editorconfig
v0.1.4
Published
centralize config for `eslint`, `prettier`, `taliwindcss`, `svelte`
Downloads
32
Readme
@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: [],
};