File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,12 @@ module.exports = {
15
15
extends : [
16
16
'not-an-aardvark/node' ,
17
17
'plugin:node/recommended' ,
18
- 'plugin:eslint-plugin/recommended'
18
+ 'plugin:eslint-plugin/recommended' ,
19
+ 'prettier'
19
20
] ,
20
21
root : true ,
21
22
rules : {
22
23
'prettier/prettier' : [ 'error' , { singleQuote : true } ] ,
23
- 'eslint-plugin/report-message-format' : [ 'error' , '^[^a-z].*\\.$' ] ,
24
- 'array-bracket-spacing' : 'off' ,
25
- 'comma-dangle' : 'off' ,
26
- indent : 'off' ,
27
- 'lines-around-directive' : 'off' ,
28
- 'space-before-function-paren' : 'off'
24
+ 'eslint-plugin/report-message-format' : [ 'error' , '^[^a-z].*\\.$' ]
29
25
}
30
26
} ;
Original file line number Diff line number Diff line change 2
2
* @fileoverview Runs prettier as an eslint rule
3
3
* @author Teddy Katz
4
4
*/
5
+
5
6
'use strict' ;
6
7
7
8
// ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 2
2
* @fileoverview runs `prettier` as an eslint rule
3
3
* @author Teddy Katz
4
4
*/
5
+
5
6
'use strict' ;
6
7
7
8
const util = require ( 'util' ) ;
Original file line number Diff line number Diff line change 31
31
"devDependencies" : {
32
32
"eslint" : " ^3.14.1" ,
33
33
"eslint-config-not-an-aardvark" : " ^2.0.0" ,
34
+ "eslint-config-prettier" : " ^1.3.0" ,
34
35
"eslint-plugin-eslint-plugin" : " ^0.2.1" ,
35
36
"eslint-plugin-node" : " ^3.0.5" ,
36
37
"mocha" : " ^3.1.2" ,
Original file line number Diff line number Diff line change 2
2
* @fileoverview runs `prettier` as an eslint rule
3
3
* @author Teddy Katz
4
4
*/
5
+
5
6
'use strict' ;
6
7
7
8
// ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments