Skip to content

Commit

Permalink
chore: OPS-4832 upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriiLevantovych committed Dec 18, 2024
1 parent a8f2f14 commit e01c9a3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ orbs:
parameters:
node_version:
type: string
default: '20.12.0'
default: '20.18.1'

commands:
install_deps:
Expand Down
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

6 changes: 0 additions & 6 deletions .eslintrc

This file was deleted.

9 changes: 9 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import rules from '@shelf/eslint-config/typescript.js';

export default [
...rules,
{files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx', '**/*.json']},
{
ignores: ['**/node_modules/', '**/coverage/', '**/lib/', 'renovate.json', 'tsconfig.json'],
},
];
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib",
"coverage": "yarn test --coverage",
"lint": "yarn lint:ci --fix",
"lint:ci": "eslint . --ext .js,.ts,.json",
"lint:ci": "eslint . --quiet",
"prepack": "yarn build",
"test": "bin/test",
"test:internal": "rm -rf .test && mkdir .test && jest",
Expand All @@ -49,13 +49,13 @@
"@babel/cli": "7.26.4",
"@babel/core": "7.26.0",
"@shelf/babel-config": "3.0.0",
"@shelf/eslint-config": "3.15.1",
"@shelf/eslint-config": "4.2.1",
"@shelf/prettier-config": "1.0.0",
"@shelf/tsconfig": "0.1.0",
"@types/jest": "29.5.14",
"@types/node": "20",
"@types/tar-fs": "2.0.4",
"eslint": "8.57.1",
"eslint": "9.17.0",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.2.11",
Expand Down

0 comments on commit e01c9a3

Please sign in to comment.