Newts Parading Majestically
Have ideas to improve npm?Join in the discussion! »

@donniean/configs

3.10.5 • Public • Published

@donniean/configs

Install

npm install -g @donniean/configs

Usage

cd project-folder
configs

Config File

.configsrc.js full config

module.exports = {
  languages: {
    js: true,
    jsx: false,
    vue: false,
    css: true,
    scss: false,
    less: false,
    html: true,
    json: true,
    yaml: false,
    md: true,
  },
  env: 'es6', // es6, es5, wechat-miniprogram
  modules: {
    editorconfig: true,
    prettier: true,
    eslint: [
      true,
      {
        'eslint-plugin-simple-import-sort': [
          false,
          {
            files: ['./src/**'],
          },
        ],
      },
    ],
    stylelint: [
      true,
      {
        'styled-components': false,
      },
    ],
    htmlhint: true,
    cspell: true,
    commitlint: true,
    'lint-staged': true,
    gitignore: true,
    gitattributes: true,
    'private-package': false,
    license: true,
  },
};

Install

npm i @donniean/configs

DownloadsWeekly Downloads

44

Version

3.10.5

License

MIT

Unpacked Size

64.7 kB

Total Files

63

Last publish

Collaborators

  • avatar