Skip to content

Commit

Permalink
Chore: use eslint-config-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
not-an-aardvark committed Feb 26, 2017
1 parent 5296930 commit c979b84
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ module.exports = {
extends: [
'not-an-aardvark/node',
'plugin:node/recommended',
'plugin:eslint-plugin/recommended'
'plugin:eslint-plugin/recommended',
'prettier'
],
root: true,
rules: {
'prettier/prettier': ['error', { singleQuote: true }],
'eslint-plugin/report-message-format': ['error', '^[^a-z].*\\.$'],
'array-bracket-spacing': 'off',
'comma-dangle': 'off',
indent: 'off',
'lines-around-directive': 'off',
'space-before-function-paren': 'off'
'eslint-plugin/report-message-format': ['error', '^[^a-z].*\\.$']
}
};
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @fileoverview Runs prettier as an eslint rule
* @author Teddy Katz
*/

'use strict';

// ------------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions lib/rules/prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @fileoverview runs `prettier` as an eslint rule
* @author Teddy Katz
*/

'use strict';

const util = require('util');
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"devDependencies": {
"eslint": "^3.14.1",
"eslint-config-not-an-aardvark": "^2.0.0",
"eslint-config-prettier": "^1.3.0",
"eslint-plugin-eslint-plugin": "^0.2.1",
"eslint-plugin-node": "^3.0.5",
"mocha": "^3.1.2",
Expand Down
1 change: 1 addition & 0 deletions tests/lib/rules/prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* @fileoverview runs `prettier` as an eslint rule
* @author Teddy Katz
*/

'use strict';

// ------------------------------------------------------------------------------
Expand Down

0 comments on commit c979b84

Please sign in to comment.