5.3.0 • Published 10 months ago

@c4605/toolconfs v5.3.0

Weekly downloads
43
License
MIT
Repository
github
Last release
10 months ago

@c4605/toolconfs

Some configuration files for usual tools

  • commitlintrc.js: commitlint checks if your commit messages meet the conventional commit format.

    // .commitlintrc.js
    module.exports = {
      extends: ['@c4605/toolconfs/commitlintrc'],
      rules: {},
    }

    And install packages:

    yarn add @commitlint/config-conventional -D
  • prettierrc.yml: Prettier is an opinionated code formatter.

    // package.json
    {
      "prettier": "@c4605/toolconfs/prettierrc"
    }
  • renovate.json: Automated dependency updates service.

    {
      "extends": ["github>bolasblack/js-metarepo:packages/toolconfs/renovate"]
    }
  • tsconfig.json: The presence of a tsconfig.json file in a directory indicates that the directory is the root of a TypeScript project. The tsconfig.json file specifies the root files and the compiler options required to compile the project.

    {
      "extends": "@c4605/toolconfs/tsconfig",
      "extends": "@c4605/toolconfs/tsconfig-node",
      "extends": "@c4605/toolconfs/tsconfig-esModule"
    }
  • eslintrc.[type].js: eslint config for TypeScript

    // .eslintrc.js
    module.exports = {
      extends: [
        "./node_modules/@c4605/toolconfs/eslintrc.base",
        "./node_modules/@c4605/toolconfs/eslintrc.prettier",
        "./node_modules/@c4605/toolconfs/eslintrc.ts",
      ],
      parserOptions: {
        project: './tsconfig.json',
      },
    }

    And install packages:

    # ts
    yarn add @typescript-eslint/eslint-plugin @typescript-eslint/parser -D
    # prettier
    yarn add eslint-config-prettier eslint-plugin-prettier -D
    # react
    yarn add eslint-plugin-react eslint-plugin-react-hooks -D
  • .githooks: git hook more freely and quickly

  • lint-staged.config.js: Run linters against staged git files and don't let 💩 slip into your code base!

    module.exports = require('@c4605/toolconfs/lint-staged.config')
5.3.0

10 months ago

5.2.2

3 years ago

5.2.1

4 years ago

5.2.0

4 years ago

5.1.1

4 years ago

5.1.0

4 years ago

5.0.0

4 years ago

4.7.2

5 years ago

4.7.1

5 years ago

4.7.0

5 years ago

4.6.0

5 years ago

4.5.2

5 years ago

4.5.1

5 years ago

4.5.0

5 years ago

4.4.1

5 years ago

4.4.0

5 years ago

4.3.0

5 years ago

4.2.0

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.5.0

5 years ago

3.4.0

5 years ago

3.3.0

5 years ago

3.2.0

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.5.0

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1-alpha.15

5 years ago