Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ The configuration is based on the recommended rulesets from [ESLint](https://esl

It also includes [ESLint Stylistic](https://eslint.style/) which replaces deprecated rules from eslint and typescript-eslint.

Currently, it uses ESLint v9 and typescript-eslint v8. (nodejs v18.18+ required)
If you need to use this package on older nodejs, you can try the v2.x version, which is based on ESLint v8 (nodejs v16.10+ required)

Currently, it uses ESLint v9 and typescript-eslint v8. (nodejs v18.18+ required)<br />
If you need to use this package on older nodejs, you can try the v2.x version, which is based on ESLint v8. (nodejs v16.10+ required)

`@ovos-media/coding-standard/eslint` exports a function that accepts an object with the following options:

Expand Down
2 changes: 1 addition & 1 deletion eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ function customize(options: CustomizeOptions = {}) {
'@stylistic/quotes': [
'error',
'single',
{ allowTemplateLiterals: true, avoidEscape: true },
{ allowTemplateLiterals: 'avoidEscape', avoidEscape: true },
],
'@stylistic/rest-spread-spacing': ['error', 'never'],
'@stylistic/semi': 'error',
Expand Down
27 changes: 13 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ovos-media/coding-standard",
"version": "3.0.0-rc.3",
"version": "3.0.0-rc.4",
"description": "ovos-media coding standard",
"main": "index.js",
"types": "index.d.ts",
Expand All @@ -14,29 +14,28 @@
"build": "tsc -p ./tsconfig.json"
},
"dependencies": {
"@stylistic/eslint-plugin": "^2.12.1",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"@typescript-eslint/utils": "^8.19.1",
"@vitest/eslint-plugin": "^1.1.24",
"eslint": "^9.17.0",
"@stylistic/eslint-plugin": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"@typescript-eslint/utils": "^8.22.0",
"@vitest/eslint-plugin": "^1.1.25",
"eslint": "^9.19.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-check-file": "^2.8.0",
"eslint-plugin-cypress": "^4.1.0",
"eslint-plugin-import": "npm:eslint-plugin-import-x@^4.6.1",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-mocha": "^10.5.0",
"eslint-plugin-perfectionist": "^4.6.0",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-perfectionist": "^4.7.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "5.0.0 || ^5.2.0",
"globals": "^15.14.0"
},
"devDependencies": {
"@types/eslint-plugin-mocha": "10.4.0",
"@types/node": "22.10.5",
"@types/prettier": "3.0.0",
"@types/node": "22.10.10",
"prettier": "3.4.2",
"typescript": "5.7.2"
"typescript": "5.7.3"
},
"engines": {
"node": ">=18.18"
Expand Down