Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

adding eslint to project #601

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"rules": {
"camelcase": [
2,
{
"properties": "always"
}
]
}
}
16 changes: 16 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 6,
sourceType: 'module'
},
extends: [
'eslint:recommended',
'plugin:ember-suave/recommended'
],
env: {
'browser': true
},
rules: {
}
};
15 changes: 0 additions & 15 deletions .jscsrc

This file was deleted.

48 changes: 0 additions & 48 deletions .jshintrc

This file was deleted.

4 changes: 0 additions & 4 deletions lib/.jshintrc

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"ember-cli-content-security-policy": "0.5.0",
"ember-cli-dependency-checker": "^1.2.0",
"ember-cli-deprecation-workflow": "0.2.3",
"ember-cli-eslint": "3.0.0",
"ember-cli-fake-server": "0.3.1",
"ember-cli-htmlbars": "^1.0.8",
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-jshint": "^2.0.1",
"ember-cli-qunit": "^3.0.0",
"ember-cli-release": "^0.2.9",
"ember-cli-sass": "^5.2.1",
Expand All @@ -73,6 +73,7 @@
"ember-suave": "4.0.1",
"ember-truth-helpers": "1.2.0",
"ember-validations": "2.0.0-alpha.5",
"eslint-plugin-ember-suave": "^1.0.0",
"express": "^4.8.5",
"glob": "^7.1.0",
"hospitalrun-dblisteners": "0.9.5",
Expand Down
3 changes: 0 additions & 3 deletions server/.jshintrc

This file was deleted.

5 changes: 5 additions & 0 deletions tests/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
env: {
'embertest': true
}
};
63 changes: 0 additions & 63 deletions tests/.jshintrc

This file was deleted.