diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..609f684 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + + +[*] + +# Change these settings to your own preference +indent_style = space +indent_size = 2 + +[*.json] +indent_size = 2 + +# We recommend you to keep these unchanged +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/examples/server.js b/examples/server.js index 455837a..d97067f 100644 --- a/examples/server.js +++ b/examples/server.js @@ -1,4 +1,4 @@ -/*eslint-disable no-console, no-var */ +/*eslint-disable*/ const webpack = require('webpack'); const WebpackDevServer = require('webpack-dev-server'); const config = require('./webpack.config'); diff --git a/examples/webpack.config.js b/examples/webpack.config.js index 3bbcc6a..49d7c3a 100644 --- a/examples/webpack.config.js +++ b/examples/webpack.config.js @@ -1,4 +1,4 @@ -/*eslint-disable no-var */ +/*eslint-disable*/ var fs = require('fs') var path = require('path') var webpack = require('webpack') diff --git a/package.json b/package.json index 79ef6e8..e82789f 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,7 @@ "type": "git", "url": "git+https://github.com/rma-consulting/rc-d3.git" }, - "author": "", - "license": "SEE LICENSE IN LICENSE", + "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/rma-consulting/rc-d3/issues" },