@zaptun/eslint-config
v0.1.5
Published
bee eslint & prettier config
Downloads
2
Readme
Introduce
@zaptun/eslint-config sets eslint and prettier configurations, referencing a package does not require each project to write a separate file configuration.
How to use
in package.json
{
"eslintConfig": {
"extends": "@zaptun/eslint-config",
"ignorePatterns": [
"**/*.md",
"dist/",
"node_modules/",
"build/",
"pnpm-lock.yaml",
"*.md/"
],
"overrides": [
{
"files": [
"*.json"
],
"rules": {
"semi": "off",
"no-unused-expressions": "off"
}
}
]
},
"prettier": "@zaptun/eslint-config/dist/prettier.js",
"prettierIgnore:": [
".DS_Store",
".idea",
".editorconfig",
"pnpm-lock.yaml",
".npmrc",
"*.log",
"*.md",
"*.svg",
"*.png",
"*.ico",
"*ignore",
".husky",
".cache",
"dist"
]
}