| @@ -0,0 +1,14 @@ | |||
| { | |||
| "presets": [ | |||
| [ | |||
| "@babel/preset-env", | |||
| { | |||
| "modules": false, | |||
| "targets": { | |||
| "browsers": ["> 1%", "last 2 versions", "ie >= 10"] | |||
| } | |||
| } | |||
| ] | |||
| ], | |||
| "plugins": ["@babel/plugin-transform-runtime","@babel/plugin-proposal-class-properties"] | |||
| } | |||
| @@ -0,0 +1,2 @@ | |||
| > 1% | |||
| last 2 versions | |||
| @@ -0,0 +1,12 @@ | |||
| root = true | |||
| [*] | |||
| indent_style = space | |||
| indent_size = 2 | |||
| end_of_line = lf | |||
| charset = utf-8 | |||
| trim_trailing_whitespace = true | |||
| insert_final_newline = true | |||
| [*.md] | |||
| trim_trailing_whitespace = false | |||
| @@ -0,0 +1,4 @@ | |||
| /libs/ | |||
| /web/ | |||
| /pack/ | |||
| @@ -0,0 +1,36 @@ | |||
| { | |||
| "root": true, | |||
| "parser": "babel-eslint", | |||
| "parserOptions": { | |||
| "sourceType": "module" | |||
| }, | |||
| "env": { | |||
| "es6": true, | |||
| "node": true, | |||
| "browser": true | |||
| }, | |||
| "plugins": ["prettier"], | |||
| "extends": ["eslint:recommended", "plugin:prettier/recommended"], | |||
| "globals": { | |||
| "__VERSION__": false, | |||
| "__TIME__": false, | |||
| "__AUTHOR__": false, | |||
| "__HOME_PAGE__": false, | |||
| "__REPOSITORY__": false, | |||
| "DC": false, | |||
| "Cesium": false, | |||
| "@dc-modules": false | |||
| }, | |||
| "rules": { | |||
| "global-require": 0, | |||
| "indent": 0, | |||
| "no-new": 0, | |||
| "camelcase": 0, | |||
| "padded-blocks": 0, | |||
| "no-unused-vars": 0, | |||
| "no-trailing-spaces": 0, | |||
| "no-mixed-spaces-and-tabs": 0, | |||
| "space-before-function-paren": [0, "always"], | |||
| "no-multiple-empty-lines": 0 | |||
| } | |||
| } | |||
| @@ -0,0 +1,14 @@ | |||
| node_modules/ | |||
| npm-debug.log* | |||
| yarn-debug.log* | |||
| yarn-error.log* | |||
| web/ | |||
| pack/ | |||
| # Editor directories and files | |||
| .idea | |||
| .vscode | |||
| *.suo | |||
| *.ntvs* | |||
| *.njsproj | |||
| package-lock.json | |||
| .DS_Store | |||
| @@ -0,0 +1,11 @@ | |||
| { | |||
| "default": true, | |||
| "colors": true, | |||
| "header-increment": false, | |||
| "line-length": false, | |||
| "no-trailing-punctuation": { "punctuation": ".,;:" }, | |||
| "no-duplicate-header": false, | |||
| "no-inline-html": false, | |||
| "no-hard-tabs": false, | |||
| "whitespace": false | |||
| } | |||
| @@ -0,0 +1,5 @@ | |||
| { | |||
| "eslintIntegration": true, | |||
| "singleQuote": true, | |||
| "semi": false | |||
| } | |||