@umijs/fabric
A collection of configuration files containing prettier, eslint, stylelint
Last updated 2 years ago by chenshuai2144 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @umijs/fabric 
SYNC missed versions from official npm registry.

umi-fabric

一个包含 prettier,eslint,stylelint 的配置文件合集

A collection of configuration files containing prettier, eslint, stylelint

Use

安装

npm i @umijs/fabric --save-dev
yarn add @umijs/fabric -D

in .eslintrc.js

module.exports = {
  extends: [require.resolve('@umijs/fabric/dist/eslint')],

  // in antd-design-pro
  globals: {
    ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true,
    page: true,
  },

  rules: {
    // your rules
  },
};

in .stylelintrc.js

module.exports = {
  extends: [require.resolve('@umijs/fabric/dist/stylelint')],
  rules: {
    // your rules
  },
};

in .prettierrc.js

const fabric = require('@umijs/fabric');

module.exports = {
  ...fabric.prettier,
};

Current Tags

  • 1.2.14                                ...           1x (4 years ago)
  • 2.0.11                                ...           2x (4 years ago)
  • 2.0.0-beta.5                                ...           beta (5 years ago)
  • 4.0.1                                ...           latest (2 years ago)

108 Versions

  • 4.0.1                                ...           2 years ago
  • 2.14.1                                ...           2 years ago
  • 2.14.0                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.12.2                                ...           2 years ago
  • 2.12.1                                ...           2 years ago
  • 2.12.0                                ...           3 years ago
  • 2.11.1                                ...           3 years ago
  • 2.11.0                                ...           3 years ago
  • 2.10.2                                ...           3 years ago
  • 2.10.1                                ...           3 years ago
  • 2.10.0                                ...           3 years ago
  • 2.9.0                                ...           3 years ago
  • 2.8.1                                ...           3 years ago
  • 2.8.0                                ...           3 years ago
  • 2.6.7                                ...           3 years ago
  • 2.7.0                                ...           3 years ago
  • 2.6.6                                ...           3 years ago
  • 2.6.5                                ...           3 years ago
  • 2.6.4                                ...           3 years ago
  • 2.6.2                                ...           4 years ago
  • 2.6.1                                ...           4 years ago
  • 2.6.0                                ...           4 years ago
  • 2.5.13                                ...           4 years ago
  • 2.5.12                                ...           4 years ago
  • 2.5.11                                ...           4 years ago
  • 2.5.10                                ...           4 years ago
  • 2.5.9                                ...           4 years ago
  • 2.5.8                                ...           4 years ago
  • 2.5.7                                ...           4 years ago
  • 2.5.6                                ...           4 years ago
  • 2.5.5                                ...           4 years ago
  • 2.5.4                                ...           4 years ago
  • 2.5.3                                ...           4 years ago
  • 2.5.2                                ...           4 years ago
  • 2.5.1                                ...           4 years ago
  • 2.5.0                                ...           4 years ago
  • 2.4.11                                ...           4 years ago
  • 2.4.10                                ...           4 years ago
  • 2.4.9                                ...           4 years ago
  • 2.4.8                                ...           4 years ago
  • 2.4.7                                ...           4 years ago
  • 2.4.6                                ...           4 years ago
  • 2.4.5                                ...           4 years ago
  • 2.4.4                                ...           4 years ago
  • 2.4.3                                ...           4 years ago
  • 2.4.2                                ...           4 years ago
  • 2.4.1                                ...           4 years ago
  • 2.4.0                                ...           4 years ago
  • 2.3.1                                ...           4 years ago
  • 2.3.0                                ...           4 years ago
  • 2.2.2                                ...           4 years ago
  • 2.2.1                                ...           4 years ago
  • 2.0.11                                ...           4 years ago
  • 1.2.14                                ...           4 years ago
  • 1.2.13                                ...           4 years ago
  • 1.1.13                                ...           4 years ago
  • 2.2.0                                ...           4 years ago
  • 2.1.1                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.9                                ...           5 years ago
  • 2.0.8                                ...           5 years ago
  • 2.0.7                                ...           5 years ago
  • 2.0.6                                ...           5 years ago
  • 2.0.5                                ...           5 years ago
  • 2.0.4                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 2.0.0-beta.5                                ...           5 years ago
  • 1.2.12                                ...           5 years ago
  • 1.2.11                                ...           5 years ago
  • 1.2.9                                ...           5 years ago
  • 1.2.8                                ...           5 years ago
  • 1.2.6                                ...           5 years ago
  • 1.2.5                                ...           5 years ago
  • 2.0.0-beta.4                                ...           5 years ago
  • 1.2.4                                ...           5 years ago
  • 1.2.3                                ...           5 years ago
  • 1.2.2                                ...           5 years ago
  • 2.0.0-beta.3                                ...           5 years ago
  • 2.0.0-beta.2                                ...           5 years ago
  • 2.0.0-beta.0                                ...           5 years ago
  • 1.2.1                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.2.0-beta.1                                ...           5 years ago
  • 1.1.10                                ...           5 years ago
  • 1.1.9                                ...           5 years ago
  • 1.1.8                                ...           5 years ago
  • 1.1.7                                ...           5 years ago
  • 1.1.6                                ...           5 years ago
  • 1.1.5                                ...           5 years ago
  • 1.1.4                                ...           5 years ago
  • 1.1.3                                ...           5 years ago
  • 1.1.2                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.9                                ...           6 years ago
  • 1.0.8                                ...           6 years ago
  • 1.0.7                                ...           6 years ago
  • 1.0.6                                ...           6 years ago
  • 1.0.5                                ...           6 years ago
  • 1.0.4                                ...           6 years ago
  • 1.0.3                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE