Skip to content

Commit 7e7013b

Browse files
committed
add @salvoravida/eslint-config - prettier.config
1 parent 8bf5499 commit 7e7013b

3 files changed

Lines changed: 5 additions & 29 deletions

File tree

.eslintrc.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,5 @@
22
"env": {
33
"browser": true
44
},
5-
"extends": "airbnb",
6-
"rules": {
7-
"indent": ["error", 4],
8-
"import/no-unresolved": 0,
9-
"no-underscore-dangle": "off",
10-
"max-len": "off",
11-
"camelcase": 0,
12-
"import/prefer-default-export": 0,
13-
"import/no-extraneous-dependencies": 0,
14-
"linebreak-style": 0,
15-
"no-nested-ternary": 0,
16-
"no-param-reassign": 0,
17-
"no-prototype-builtins": 0,
18-
"no-restricted-syntax": 0,
19-
"no-return-assign": 0,
20-
"no-unused-vars": "warn",
21-
"no-unused-expressions": 0,
22-
"spaced-comment": 0
23-
}
5+
"extends": ["@salvoravida"]
246
}

.prettierrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
...require("@salvoravida/eslint-config/prettier.config"),
3+
};

package.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,7 @@
4242
"@babel/core": "7.6.4",
4343
"@babel/preset-env": "7.6.3",
4444
"@babel/preset-react": "7.6.3",
45-
"eslint": "6.6.0",
46-
"eslint-config-airbnb": "18.0.1",
47-
"eslint-config-standard": "14.1.0",
48-
"eslint-config-standard-react": "9.2.0",
49-
"eslint-plugin-import": "2.18.2",
50-
"eslint-plugin-jsx-a11y": "6.2.3",
51-
"eslint-plugin-node": "10.0.0",
52-
"eslint-plugin-promise": "4.2.1",
53-
"eslint-plugin-react": "7.16.0",
54-
"eslint-plugin-standard": "^4.0.1",
45+
"@salvoravida/eslint-config": "0.0.1",
5546
"rollup": "1.26.0",
5647
"rollup-plugin-babel": "4.3.3",
5748
"rollup-plugin-node-resolve": "5.2.0",

0 commit comments

Comments
 (0)