Skip to content

Commit

Permalink
upgrade eslint-config-algolia
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Jul 12, 2023
1 parent 5bd8f2d commit 0cf3df2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {

parserOptions: {
tsconfigRootDir: __dirname,
project: ['./**/tsconfig.json'],
project: './**/tsconfig.json',
},

settings: {
Expand Down Expand Up @@ -140,7 +140,7 @@ module.exports = {

parserOptions: {
tsconfigRootDir: __dirname,
project: ['./clients/algoliasearch-client-javascript/tsconfig.json'],
project: './clients/algoliasearch-client-javascript/tsconfig.json'
},

rules: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@typescript-eslint/eslint-plugin": "6.0.0",
"@typescript-eslint/parser": "6.0.0",
"eslint": "8.44.0",
"eslint-config-algolia": "21.0.0",
"eslint-config-algolia": "22.0.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-algolia": "2.0.0",
"eslint-plugin-automation-custom": "1.0.0",
Expand Down
10 changes: 8 additions & 2 deletions scripts/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
module.exports = {
parser: '@typescript-eslint/parser',
ignorePatterns: [
"*.test.ts"
],

parser: '@typescript-eslint/parser',

parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ["tsconfig.json"]
tsconfigRootDir: __dirname,
project: "tsconfig.json",
},

settings: {
Expand All @@ -24,5 +29,6 @@ module.exports = {
"ts": "never",
"mjs": "never",
}],
'@typescript-eslint/sort-type-union-intersection-members': 0
},
};
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ __metadata:
"@typescript-eslint/eslint-plugin": 6.0.0
"@typescript-eslint/parser": 6.0.0
eslint: 8.44.0
eslint-config-algolia: 21.0.0
eslint-config-algolia: 22.0.0
eslint-config-prettier: 8.8.0
eslint-plugin-algolia: 2.0.0
eslint-plugin-automation-custom: 1.0.0
Expand Down Expand Up @@ -4370,13 +4370,13 @@ __metadata:
languageName: node
linkType: hard

"eslint-config-algolia@npm:21.0.0":
version: 21.0.0
resolution: "eslint-config-algolia@npm:21.0.0"
"eslint-config-algolia@npm:22.0.0":
version: 22.0.0
resolution: "eslint-config-algolia@npm:22.0.0"
peerDependencies:
eslint: ^5.16.0 || ^6.8.0 || ^7.2.0 || ^8.0.0
prettier: ^2.2.1
checksum: ea3091982476d554ac25d3ca3b32ceb6bcad220d6d678208aba1521341dd626fbcd24372a854bbdeb07327b453183835c71cf53ec866dadf8568f3276118b7f4
checksum: e8860782eaf79539747cfc36ef9b6d56a54688a5c03e7247362231364c75e2d7cf6f150ef6b810271ab340ecee6167aad0cc68ecbf5048048b56e72e8a1ee947
languageName: node
linkType: hard

Expand Down

0 comments on commit 0cf3df2

Please sign in to comment.