mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
reduce number of config files
This commit is contained in:
parent
85ee981be4
commit
b861ac82f1
@ -1,17 +0,0 @@
|
||||
# http://editorconfig.org
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
max_line_length = 80
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.md]
|
||||
max_line_length = 0
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[COMMIT_EDITMSG]
|
||||
max_line_length = 0
|
23
.eslintrc
23
.eslintrc
@ -1,23 +0,0 @@
|
||||
{
|
||||
"extends": "airbnb-base",
|
||||
"rules": {
|
||||
"comma-dangle": 0,
|
||||
"func-names": 0,
|
||||
"no-alert": 1,
|
||||
"no-console": 1,
|
||||
"no-use-before-define": 0,
|
||||
"prefer-rest-params": 0,
|
||||
"prefer-template": 0,
|
||||
"no-mixed-operators": 0,
|
||||
"no-undef": 0,
|
||||
"no-underscore-dangle": 0,
|
||||
"prefer-arrow-callback": 0,
|
||||
"space-before-function-paren": 0,
|
||||
"global-require": 0,
|
||||
"object-shorthand": 0,
|
||||
"max-len": 0,
|
||||
"no-param-reassign": 0,
|
||||
"consistent-return": 0,
|
||||
"no-restricted-syntax": 1
|
||||
}
|
||||
}
|
14
.gitattributes
vendored
14
.gitattributes
vendored
@ -1,14 +0,0 @@
|
||||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
||||
|
||||
# Explicitly declare text files you want to always be normalized and converted
|
||||
# to native line endings on checkout.
|
||||
*.c text
|
||||
*.h text
|
||||
|
||||
# Declare files that will always have CRLF line endings on checkout.
|
||||
*.sln text eol=crlf
|
||||
|
||||
# Denote all files that are truly binary and should not be modified.
|
||||
*.png binary
|
||||
*.jpg binary
|
28
package.json
28
package.json
@ -7,7 +7,6 @@
|
||||
"test": "tests"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node ./node_modules/eslint/bin/eslint.js src/",
|
||||
"dev": "webpack --progress --colors --watch --config webpack/webpack.config.js --devtool sourcemap",
|
||||
"build": "npm run build-js && npm run build-css",
|
||||
"build-js": "webpack --config ./webpack/webpack.config.js --devtool sourcemap && webpack --config ./webpack/webpack.config.min.js",
|
||||
@ -45,5 +44,32 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"babel": "^5.8.21"
|
||||
},
|
||||
"babel": {
|
||||
"stage": 0,
|
||||
"loose": "all"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "airbnb-base",
|
||||
"rules": {
|
||||
"comma-dangle": 0,
|
||||
"func-names": 0,
|
||||
"no-alert": 1,
|
||||
"no-console": 1,
|
||||
"no-use-before-define": 0,
|
||||
"prefer-rest-params": 0,
|
||||
"prefer-template": 0,
|
||||
"no-mixed-operators": 0,
|
||||
"no-undef": 0,
|
||||
"no-underscore-dangle": 0,
|
||||
"prefer-arrow-callback": 0,
|
||||
"space-before-function-paren": 0,
|
||||
"global-require": 0,
|
||||
"object-shorthand": 0,
|
||||
"max-len": 0,
|
||||
"no-param-reassign": 0,
|
||||
"consistent-return": 0,
|
||||
"no-restricted-syntax": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user