Skip to content

Commit 6c5d200

Browse files
eslint and prettier setup added (#10)
* eslint and prettier setup * reduntant packages removed
1 parent c6135a6 commit 6c5d200

File tree

6 files changed

+2846
-1716
lines changed

6 files changed

+2846
-1716
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.eslintrc.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"extends": ["airbnb", "prettier", "plugin:node/recommended"],
9+
"parserOptions": {
10+
"ecmaVersion": 2019,
11+
"sourceType": "module"
12+
},
13+
"rules": {
14+
"no-unused-vars": "warn",
15+
"no-console": "off",
16+
"func-names": "off",
17+
"no-process-exit": "off",
18+
"object-shorthand": "off",
19+
"class-methods-use-this": "off"
20+
}
21+
}

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
public/build
2+
package-lock.json
3+
node_modules/

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"arrowParens": "avoid",
3+
"bracketSpacing": false,
4+
"singleQuote": true,
5+
"svelteSortOrder": "options-scripts-markup-styles",
6+
"trailingComma": "none"
7+
}

0 commit comments

Comments
 (0)