Giter Site home page Giter Site logo

@dext7r/linter

This package integrates ESLint, Prettier, CommitLint, Commitizen, Husky, lint-staged, and TypeScript, and provides a unified solution for linting your code. Simply install the package and run the initialization command, and the necessary configuration files will be generated for you.

Installation

To install @dext7r/linter, run the following command:

npm i @dext7r/linter -D -E

Configuration

To initialize the package, run the following command:

npx dext7r-lint

This will generate the necessary configuration files for your project, including:

  • .eslintrc.js
  • .prettierrc
  • .commitlintrc.js
  • .huskyrc.js
  • .lintstagedrc.js
  • tsconfig.json

Usage

Once you have installed and configured the package, the linter will run automatically when you build your project. You can also run the linter manually using the following command:

npm run lint

Conclusion

By using @easyv/linter, you can ensure that your code is properly linted and formatted, and that your commits adhere to a consistent standard. Our package includes all the necessary tools to keep your code clean and organized, and our initialization command makes it easy to get started. Try it out today!

dext7r's Projects

amis-admin-vue icon amis-admin-vue

Baidu Amis low code engine realizes background management system

amis-vite-react icon amis-vite-react

基于amis amis-editor 的 react ts版本 包含编辑器编辑 移动pc端展示

ant-design icon ant-design

An enterprise-class UI design language and React UI library

bywebview icon bywebview

🌏 WebView 全方面使用,JS交互、进度条、上传图片、错误页面、视频全屏播放、唤起原生App、获取网页源代码、被作为第三方浏览器打开、DeepLink、[腾讯x5使用示例]

commit-comment icon commit-comment

This GitHub Action allows you to automatically create a commit comment on a pull request. | 此GitHub action用于自动创建提交注评论

deletenodemodules icon deletenodemodules

This is a Node.js project that can clean up all redundant 'node_modules' folders in the working directory using the 'rimraf' library

deleteworkflowrunlogs icon deleteworkflowrunlogs

A GitHub Action to delete logs of a workflow run | 用于删除工作流运行日志的 GitHub action

h7ui icon h7ui

h7ui 一款轻量级、模块化的vue前端 UI 组件库

isomorphic-ws icon isomorphic-ws

Isomorphic implementation of WebSocket (https://www.npmjs.com/package/ws)

javascript-algorithms icon javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

logicflow icon logicflow

A flow chart editing framework focusing on business customization. 专注于业务自定义的流程图编辑框架,支持实现脑图、ER图、UML、工作流等各种图编辑场景。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.