Skip to content

Commit 763c4f0

Browse files
committed
Add prettier config
1 parent 4fa427b commit 763c4f0

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
"use strict";
1+
'use strict';
22

3-
const init = require("eslint-config-metarhia");
3+
const init = require('eslint-config-metarhia');
44

55
module.exports = init;

prettier.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
'use strict';
2+
3+
module.exports = {
4+
printWidth: 80,
5+
singleQuote: true,
6+
trailingComma: 'all',
7+
tabWidth: 2,
8+
useTabs: false,
9+
semi: true,
10+
};

0 commit comments

Comments
 (0)