Permalink
Browse files

feat: Rewrite the library in TypeScript (#36)

  • Loading branch information...
diegohaz committed Aug 23, 2018
1 parent 47111fd commit de1cd09117d796a4d0aabc96d0caf96a9b8f12c8

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,3 @@
coverage
dist
node_modules
@@ -9,13 +9,35 @@
"jest": true,
"browser": true
},
"settings": {
"import/resolver": {
"node": true,
"eslint-import-resolver-typescript": true
}
},
"rules": {
"no-underscore-dangle": "off",
"react/prop-types": "off",
"import/no-extraneous-dependencies": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": "off",
"react/require-default-props": "off",
"react/destructuring-assignment": "off",
"jsx-a11y/anchor-is-valid": "off"
}
},
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"parser": "typescript-eslint-parser",
"plugins": [
"typescript"
],
"rules": {
"no-undef": "off",
"no-unused-vars": "off",
"no-restricted-globals": "off",
"no-use-before-define": "off"
}
}
]
}
@@ -2,7 +2,10 @@ language: node_js
node_js:
- v8
script:
- npm run lint && npm test -- --coverage && npm run build
- yarn lint
- yarn test --coverage
- yarn type-check
- yarn build
cache:
- yarn
after_success:
@@ -0,0 +1,9 @@
{
"eslint.validate": [
"javascript",
"javascriptreact",
{ "language": "typescript", "autoFix": true },
{ "language": "typescriptreact", "autoFix": true }
],
"typescript.tsdk": "node_modules/typescript/lib"
}
Oops, something went wrong.

0 comments on commit de1cd09

Please sign in to comment.