This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no issue - drop `jshint`, `jscs`, and `ember-suave` dependencies - remove `grunt` related linting dependencies and tasks - remove linting build from Travis so that linting can be performed as part of the normal test suite (refs TryGhost/Ghost#7427) - add `ember-cli-eslint` and `eslint-plugin-ember-suave` dependencies - configure `eslint` to match our previous coding style - update config to run eslint tests as part of the normal test run - add `npm run lint` command to only run linter tests
- Loading branch information
1 parent
cd1fe4a
commit 2265ee2
Showing
14 changed files
with
54 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
sourceType: 'module' | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:ember-suave/recommended' | ||
], | ||
env: { | ||
browser: true | ||
}, | ||
rules: { | ||
indent: ['error', 4], | ||
'space-before-function-paren': ['error', {anonymous: 'ignore', named: 'never'}], | ||
'object-curly-spacing': ['error', 'never'], | ||
'array-bracket-spacing': ['error', 'never'], | ||
'key-spacing': ['error', {mode: 'minimum'}], | ||
'keyword-spacing': ['error', {overrides: { | ||
'catch': {'after': true} | ||
}}], | ||
'ember-suave/require-access-in-comments': 'off' | ||
}, | ||
globals: { | ||
moment: false, | ||
validator: false | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
rules: { | ||
'brace-style': 'off', | ||
'camelcase': 'off' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
env: { | ||
'embertest': true, | ||
'mocha': true | ||
}, | ||
globals: { | ||
server: false, | ||
expect: false, | ||
fileUpload: false | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.