Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
harunhasdal committed Dec 18, 2015
1 parent cce8e88 commit 1fbd935
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion examples/server.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*eslint-disable no-var */
/*eslint-disable*/
var fs = require('fs')
var path = require('path')
var webpack = require('webpack')
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 1fbd935

Please sign in to comment.