Skip to content

Commit

Permalink
Bring boilerplate files in line with my current best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
James Allardice committed Mar 8, 2015
1 parent 79eb950 commit 4d2a1d0
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Expand Up @@ -2,7 +2,7 @@ root = true

[*]
indent_style = space
end_of_line = lf
charset = utf-8
indent_size = 2
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
11 changes: 11 additions & 0 deletions .eslintrc
@@ -0,0 +1,11 @@
{
"rules": {
"quotes": [ 2, "single" ],
"no-shadow": 0,
"no-use-before-define": [ 2, "nofunc" ],
"strict": 2
},
"env": {
"browser": true
}
}
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -5,4 +5,4 @@ node_modules
build

# Ignore annoying OS X files
.DS_Store
.DS_Store
22 changes: 11 additions & 11 deletions package.json
@@ -1,13 +1,13 @@
{
"name": "Placeholders.js",
"version": "3.0.2",
"author": "James Allardice <admin@jamesallardice.com>",
"description": "A JavaScript polyfill for the HTML5 placeholder attribute",
"private": true,
"devDependencies": {
"grunt": "0.4.x",
"grunt-contrib-jshint": "0.3.x",
"grunt-contrib-concat": "0.1.x",
"grunt-contrib-uglify": "0.2.x"
}
"name": "Placeholders.js",
"version": "3.0.2",
"author": "James Allardice <admin@jamesallardice.com>",
"description": "A JavaScript polyfill for the HTML5 placeholder attribute",
"private": true,
"devDependencies": {
"grunt": "0.4.x",
"grunt-contrib-jshint": "0.3.x",
"grunt-contrib-concat": "0.1.x",
"grunt-contrib-uglify": "0.2.x"
}
}

0 comments on commit 4d2a1d0

Please sign in to comment.