@ideaair/eslint-config
v0.0.3
Published
A basic eslint config , include javascript and json and markdown!
Readme
Eslint basic config
A basic eslint config, Use unify JavaScript code style 、JSON file style 、package.json key sort.
JavaScript
Use format
JavaScriptcode style.
Extends plugins:
JSON
JSON parser github address: https://github.com/ota-meshi/jsonc-eslint-parser
Plugin github address : https://github.com/ota-meshi/eslint-plugin-jsonc
Use default jsonc-plugin rules, not custom config.
package.json sort
Custom key sort.
'publisher',
'name',
'displayName',
'type',
'version',
'private',
'packageManager',
'description',
'author',
'license',
'funding',
'homepage',
'repository',
'bugs',
'keywords',
'categories',
'sideEffects',
'exports',
'main',
'module',
'unpkg',
'jsdelivr',
'types',
'typesVersions',
'bin',
'icon',
'files',
'engines',
'activationEvents',
'contributes',
'scripts',
'peerDependencies',
'peerDependenciesMeta',
'dependencies',
'optionalDependencies',
'devDependencies',
'pnpm',
'overrides',
'resolutions',
'husky',
'simple-git-hooks',
'lint-staged',
'eslintConfig',