0.0.18 • Published 16 days ago

@lad-tech/eslint-config v0.0.18

Weekly downloads
-
License
MIT
Repository
github
Last release
16 days ago

What is this package for?:

To unify the design of ESLint and use it in all related projects

Installation:

yarn add -D eslint prettier jest @lad-tech/eslint-config

Usage

  • Create 2 files .eslintignore and .eslintrc.js

  • All files that do not need to be formatted are added to .eslintignore

It usually consists of the following files/directories:

.idea
ios
android
node_modules
assets
*.md
*.config.js
  • Add to eslintrc.js:
module.exports = {
  extends: [
    '@lad-tech/eslint-config',
  ],
};