Skip to content

Commit

Permalink
chore(deps-dev): bump prettier from 2.8.4 to 3.2.4 (#261)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump prettier from 2.8.4 to 3.2.4

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.4 to 3.2.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.4...3.2.4)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update ESLint configuration

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vitalii Melnychuk <vvv.melnychuk@gmail.com>
  • Loading branch information
dependabot[bot] and vitaliimelnychuk committed Jan 27, 2024
1 parent 243d996 commit b0c1673
Show file tree
Hide file tree
Showing 3 changed files with 589 additions and 201 deletions.
44 changes: 42 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,44 @@
module.exports = {
extends: ["eslint-config-barecheck-base"],
rules: {}
env: {
node: true,
mocha: true
},
extends: [
"airbnb-base",
"prettier",
"plugin:import/errors",
"plugin:import/warnings"
],
plugins: ["prettier", "simple-import-sort"],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly"
},
parserOptions: {
ecmaVersion: 11
},
rules: {
"prettier/prettier": "error",
"no-console": 1,
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
// Code complexity rules
complexity: ["error", 10],
"max-depth": ["error", 3],
"max-nested-callbacks": ["error", 3],
"max-statements": ["error", 10],
"max-lines": ["error", 300]
},
overrides: [
// Code complexity rules for test files
{
files: ["*.test.js"],
rules: {
"max-depth": ["error", 2],
"max-nested-callbacks": ["error", 4],
"max-statements": ["error", 30],
"max-lines": ["error", 500]
}
}
]
};
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@
"@vercel/ncc": "^0.38.1",
"chai": "^4.3.7",
"eslint": "^8.56.0",
"eslint-config-barecheck-base": "^0.5.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"prettier": "^3.2.4",
"proxyquire": "^2.1.3",
"sinon": "^15.2.0"
},
Expand Down

0 comments on commit b0c1673

Please sign in to comment.