Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 69f3d93

Browse files
Eran MachielsEranNL
Eran Machiels
andauthoredOct 2, 2020
1.0.0 (#12)
* Feature/setup (#1) * Added typescript & removed start files * Added, fixed and tests most of the code * Fixes * removed redundand extra if check * Added tests to have a higher coverage * Added eslint * Re-added babel config * Removed unused validate method * Fixed default destructing value never used * fixed testarea not validatable Co-authored-by: Eran Machiels <[email protected]> * Feature/min max rule (#2) * Changed messages to use area name * Fixed area test messages * Added min rule * Changed min value argument name * Added max rule Co-authored-by: Eran Machiels <[email protected]> * Feature/rewrite rules (#3) * Added basic localization and fixed tests * Fixed eslint for tests * Added docs, cleanup * Fixed typo * Fixed typo * Added root imports, reorganized file structure Co-authored-by: Eran Machiels <[email protected]> * Fixed including and ignoring files incorrectly in eslint and tsconfig (#4) Co-authored-by: Eran Machiels <[email protected]> * Added travis config * Added codecov (#7) Co-authored-by: Eran Machiels <[email protected]> * Feature/access other areas (#6) * Added access to validator, area and provider (when used) within validation rules * Added missing doc * Minor fixes * Unneeded initial value fixes * Re-added missing null type for name Co-authored-by: Eran Machiels <[email protected]> * WIP validation all elements (#8) * WIP validation all elements * Fixes * Added missing docs Co-authored-by: Eran Machiels <[email protected]> * Feature/validate all elements (#9) * WIP validation all elements * Fixes * Added missing docs * Added some dom tests * Fixes Co-authored-by: Eran Machiels <[email protected]> * Feature/publishing (#10) * Added readme * Added everything to be exported Co-authored-by: Eran Machiels <[email protected]> * Feature/publishing (#11) * Added readme * Added everything to be exported * Added idea workspace map * Removed idea workspace file * 1.0.0 Co-authored-by: Eran Machiels <[email protected]> Co-authored-by: Eran Machiels <[email protected]>
1 parent dc4ab03 commit 69f3d93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+18041
-11210
lines changed
 

‎.eslintrc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"plugins": ["@typescript-eslint/eslint-plugin"],
4+
"extends": [
5+
"eslint:recommended",
6+
"plugin:@typescript-eslint/recommended",
7+
"plugin:react/recommended"
8+
],
9+
"parserOptions": {
10+
"ecmaVersion": 6,
11+
"sourceType": "module",
12+
"project": "./tsconfig.json"
13+
},
14+
"env": {
15+
"node": true,
16+
"es6": true
17+
},
18+
"ignorePatterns": ["dist", "setupTests.ts", "babel.config.js"],
19+
"rules": {
20+
"comma-dangle": "off",
21+
"class-methods-use-this": "off",
22+
"import/prefer-default-export": "off",
23+
"import/no-dynamic-require": "off",
24+
"global-require": "off",
25+
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
26+
"@typescript-eslint/indent": ["error", 4]
27+
}
28+
}

‎.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# production
1212
/build
13+
/dist
1314

1415
# misc
1516
.DS_Store
@@ -21,3 +22,6 @@
2122
npm-debug.log*
2223
yarn-debug.log*
2324
yarn-error.log*
25+
26+
# IDE
27+
/.idea

0 commit comments

Comments
 (0)
Please sign in to comment.