Skip to content

Commit

Permalink
🔥 chore: turn off all rules that might conflict with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rocktimsaikia committed Sep 26, 2020
1 parent e5fb856 commit cd93c78
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 17 deletions.
32 changes: 16 additions & 16 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"extends": "airbnb-base",
"ignorePatterns": ["lazy-loading.js", "**/vendor/*.js"],
"rules": {
"comma-dangle": ["error", "only-multiline"],
"implicit-arrow-linebreak": "off",
"linebreak-style": "off",
"arrow-parens": "off",
"no-console": "off",
"func-names": "off"
},
"env": {
"browser": true,
"node": true,
"mocha": true
}
}
"extends": ["airbnb-base", "prettier"],
"ignorePatterns": ["lazy-loading.js", "**/vendor/*.js"],
"rules": {
"comma-dangle": ["error", "only-multiline"],
"implicit-arrow-linebreak": "off",
"linebreak-style": "off",
"arrow-parens": "off",
"no-console": "off",
"func-names": "off"
},
"env": {
"browser": true,
"node": true,
"mocha": true
}
}
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"singleQuote": true,
"trailingComma": "es5"
}
}
15 changes: 15 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.20.2",
"mocha": "^7.1.1",
"nodemon": "^2.0.3",
Expand Down

0 comments on commit cd93c78

Please sign in to comment.