Skip to content

Commit

Permalink
chore: use father (#197)
Browse files Browse the repository at this point in the history
* chore: use father

* Update .gitignore

* chore: update

* update travis

* update

* modified: package.json

* fix typings

* modified: package.json

* modified:   package.json

* modified:   package.json

* modified:   package.json

* add coverage

* update expect

* test

* fix one test

* update ref

* update

* update test

* update test

* update test

* update test

* fix compile

* fix transformOrigin

* fix input

* fix: click mask to close

* fix(test): getContainer

* fix activeElement

* simple tarnsformOrigin

* update test

* fix overflow

* fix eslint

Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
  • Loading branch information
3 people committed Aug 27, 2020
1 parent f648087 commit 94c2da1
Show file tree
Hide file tree
Showing 26 changed files with 943 additions and 979 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,22 @@
const base = require("@umijs/fabric/dist/eslint");

module.exports = {
...base,
rules: {
...base.rules,
"arrow-parens": 0,
"react/no-array-index-key": 0,
"react/sort-comp": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-inferrable-types": 0,
"react/require-default-props": 0,
"no-confusing-arrow": 0,
"import/no-named-as-default-member": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/label-has-associated-control": 0,
"import/no-extraneous-dependencies": 0,
"jsx-a11y/no-noninteractive-tabindex": 0,
"jsx-a11y/no-autofocus": 0,
},
};
9 changes: 9 additions & 0 deletions .fatherrc.js
@@ -0,0 +1,9 @@
export default {
cjs: "babel",
esm: { type: "babel", importLibToEs: true },
preCommit: {
eslint: true,
prettier: true,
},
runtimeHelpers: true,
};
5 changes: 3 additions & 2 deletions .gitignore
Expand Up @@ -25,11 +25,12 @@ build
lib
es
coverage
*.js
*.jsx
*.map
!tests/index.js
!/index*.js
/ios/
/android/
yarn.lock
yarn.lock
.storybook
.doc
6 changes: 6 additions & 0 deletions .prettierrc
@@ -0,0 +1,6 @@
{
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "never",
"printWidth": 100
}
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -30,3 +30,4 @@ env:
- TEST_TYPE=lint
- TEST_TYPE=test
- TEST_TYPE=coverage
- TEST_TYPE=compile
Empty file removed examples/ant-design.html
Empty file.

1 comment on commit 94c2da1

@vercel
Copy link

@vercel vercel bot commented on 94c2da1 Aug 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.