Skip to content

Commit

Permalink
Change formatting to 2 spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kabirbaidhya committed Jul 17, 2019
1 parent 5eb4ff0 commit a843fd1
Show file tree
Hide file tree
Showing 4 changed files with 370 additions and 373 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[*]
indent_style = space
indent_size = 4
indent_size = 2

# Unix-style newlines with a newline ending in every file
[*]
Expand Down
5 changes: 1 addition & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
},
"rules": {
"strict": 0,
"no-var": 2,
"indent": [2, 4],
"semi": [2, "always"],
"quotes": [2, "single"]
"no-var": 2
}
}
32 changes: 16 additions & 16 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ import commonjs from 'rollup-plugin-commonjs';
import resolve from 'rollup-plugin-node-resolve';

export default {
input: 'index.js',
output: {
name: 'KeyCode',
format: 'umd',
file: 'dist/keycode.min.js',
sourcemap: true
},
plugins: [
resolve({
jsnext: true,
main: true,
browser: true,
}),
commonjs(),
uglify()
]
input: 'index.js',
output: {
name: 'KeyCode',
format: 'umd',
file: 'dist/keycode.min.js',
sourcemap: true
},
plugins: [
resolve({
jsnext: true,
main: true,
browser: true
}),
commonjs(),
uglify()
]
};

0 comments on commit a843fd1

Please sign in to comment.