-
-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fixed high vulns * . * . * node 12 * 4.0.4 * new configs * upd antd * lint * . * lint fixes import * exclude tests from karma reporter * just consts * lint import plugin, tsc works * fix ts emit * tsconfig done * scripts * . * . * . * react scripts requires * lint * depr * travis smoke * . * move pkgs to examples * tests organization * check hot * lint karma * kill webpack * upd eslint, lint fix * babel cacheDirectory * 4.0.5 * . * chlog * . * fix 2 loaders conflict * 4.1.0 * docs about npm scripts * updated daps. added dayjs, @date-io/core, @date-io/days. removed @types/classnames * . * upd loaders * fix * moved deps from examples * upd puppeteer * mui * latest mui * use antd's official css with globals * react * upd sandbox * . * . * optional extract css
- Loading branch information
Showing
63 changed files
with
911 additions
and
566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
module.exports = { | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"mocha": true, | ||
"jest": true, | ||
"node": true | ||
}, | ||
"ignorePatterns": [ | ||
"**/ts_out/*", | ||
"**/build/*", | ||
"**/node_modules/*", | ||
"bundle.js", | ||
"webpack.config.js" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 11, | ||
"ecmaFeatures": { | ||
"legacyDecorators": true, | ||
"jsx": true | ||
}, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"react", | ||
"babel", | ||
"import", | ||
"@typescript-eslint" | ||
], | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
}, | ||
"import/resolver": { | ||
"webpack": { | ||
"config": "./webpack.config.js" | ||
} | ||
}, | ||
"import/extensions": [ | ||
".js", | ||
".jsx", | ||
".ts", | ||
".tsx" | ||
], | ||
"import/parsers": { | ||
"@typescript-eslint/parser": [ | ||
".ts", | ||
".tsx" | ||
] | ||
}, | ||
"import/core-modules": [ | ||
"react-awesome-query-builder/lib/css/styles.css" | ||
] | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2, | ||
{ | ||
} | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"operator-linebreak": [ | ||
"warn", | ||
"before" | ||
], | ||
"quotes": [ | ||
"warn", | ||
"double", | ||
{ | ||
"avoidEscape": true | ||
} | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
"no-tabs": [ | ||
"error", | ||
{ | ||
"allowIndentationTabs": false | ||
} | ||
], | ||
"no-unused-vars": [ | ||
//todo: set to warn | ||
"off", | ||
{ | ||
"args": "all", | ||
"argsIgnorePattern": "^_", | ||
"ignoreRestSiblings": true, | ||
"caughtErrors": "none", | ||
"varsIgnorePattern": "^_" | ||
} | ||
], | ||
"react/display-name": [ | ||
"off" | ||
], | ||
"global-require": [ | ||
"off" | ||
], | ||
"react/prop-types": [ | ||
//todo: set to warn | ||
"off", {} | ||
], | ||
"prefer-const": [ | ||
//todo: set to warn | ||
"off", {} | ||
] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["modules/**/*.ts", "modules/**/*.tsx"], | ||
"parserOptions": { | ||
"project": 'tsconfig.json', | ||
}, | ||
}, | ||
{ | ||
"files": ["examples/**/*.ts", "examples/**/*.tsx"], | ||
"parserOptions": { | ||
"project": 'examples/tsconfig.json', | ||
}, | ||
}, | ||
{ | ||
"files": ["sandbox/**/*.ts", "sandbox/**/*.tsx"], | ||
"parserOptions": { | ||
"project": 'sandbox/tsconfig.json', | ||
}, | ||
}, | ||
{ | ||
"files": ["tests/**/*.ts", "tests/**/*.tsx"], | ||
"parserOptions": { | ||
"project": 'tests/tsconfig.json', | ||
}, | ||
}, | ||
{ | ||
"files": ["**/*.ts", "**/*.tsx"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking" | ||
], | ||
"rules": { | ||
//todo | ||
"@typescript-eslint/no-unused-vars": 0, | ||
"@typescript-eslint/ban-types": 0, | ||
"@typescript-eslint/explicit-module-boundary-types": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/no-empty-interface": 0, | ||
"@typescript-eslint/unbound-method": 0, | ||
"@typescript-eslint/prefer-regexp-exec": 0 | ||
} | ||
}, | ||
], | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
language: node_js | ||
node_js: | ||
- 10 | ||
- 12 | ||
sudo: required | ||
dist: trusty | ||
before_install: | ||
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC | ||
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959 | ||
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
install: | ||
- npm install | ||
- npm run install-all | ||
- npm run lint | ||
- npm run build-examples | ||
- npm run build-all | ||
- npm run check-hot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.