Skip to content

Commit

Permalink
chore: update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Feb 2, 2024
1 parent e6cf822 commit 0d85258
Show file tree
Hide file tree
Showing 4 changed files with 650 additions and 278 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["@rambler-tech/eslint-config", "prettier"],
"parserOptions": {
"requireConfigFile": false
"rules": {
"todo-with-label/has-valid-pattern": "off"
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@rambler-tech/eslint-config": "^0.1.1",
"@rambler-tech/eslint-config": "^0.9.3",
"@rambler-tech/prettier-config": "^0.1.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^8.0.3",
"lerna": "^7.3.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3"
"prettier": "^3.2.4"
},
"workspaces": [
"packages/*"
Expand Down
6 changes: 3 additions & 3 deletions packages/multi-entry/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ module.exports = (entrypoints) => ({
const rurl = webpackConfig.entry.client[0]

webpackConfig.entry = () => {
const entryObj = {}
const entryObject = {}

clientKeys.forEach((key) => {
entryObj[key] = [rurl, entrypoints[key]]
entryObject[key] = [rurl, entrypoints[key]]
})

return entryObj
return entryObject
}

webpackConfig.output.filename = 'static/js/[name].js'
Expand Down
Loading

0 comments on commit 0d85258

Please sign in to comment.