Skip to content

Commit 2378f91

Browse files
chore(deps): update dependency @rnx-kit/eslint-plugin to v0.8.2 (#2273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tommy Nguyen <[email protected]>
1 parent c5ebd15 commit 2378f91

File tree

3 files changed

+321
-254
lines changed

3 files changed

+321
-254
lines changed

eslint.config.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
const { FlatCompat } = require("@eslint/eslintrc");
2-
const js = require("@eslint/js");
1+
const sdl = require("@microsoft/eslint-plugin-sdl");
32
const rnx = require("@rnx-kit/eslint-plugin");
43
const wdio = require("eslint-plugin-wdio");
54

6-
const compat = new FlatCompat({
7-
baseDirectory: __dirname,
8-
recommendedConfig: js.configs.recommended,
9-
});
10-
115
module.exports = [
12-
...compat.extends("plugin:@microsoft/sdl/required"),
6+
...sdl.configs.recommended,
137
wdio.configs["flat/recommended"],
148
...rnx.configs.strict,
159
{

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,8 @@
121121
"devDependencies": {
122122
"@babel/core": "^7.20.0",
123123
"@babel/preset-env": "^7.20.0",
124-
"@eslint/eslintrc": "^2.1.4",
125-
"@eslint/js": "^8.56.0",
126124
"@expo/config-plugins": "^8.0.0",
127-
"@microsoft/eslint-plugin-sdl": "^0.2.0",
125+
"@microsoft/eslint-plugin-sdl": "^1.0.0",
128126
"@react-native-community/cli": "^14.0.0",
129127
"@react-native-community/template": "^0.75.0",
130128
"@rnx-kit/eslint-plugin": "^0.8.0",
@@ -135,7 +133,7 @@
135133
"@types/prompts": "~2.4.0",
136134
"@types/semver": "^7.3.6",
137135
"@types/uuid": "^10.0.0",
138-
"eslint": "^8.56.0",
136+
"eslint": "^9.12.0",
139137
"eslint-plugin-wdio": "^9.0.0",
140138
"js-yaml": "^4.1.0",
141139
"memfs": "^4.0.0",
@@ -165,7 +163,7 @@
165163
"@colors/colors": "^1.6.0",
166164
"@expo/config-plugins/glob": "^7.1.6",
167165
"@expo/json-file/@babel/code-frame": "^7.10.4",
168-
"@microsoft/eslint-plugin-sdl/eslint-plugin-react": "^7.33.0",
166+
"@microsoft/eslint-plugin-sdl/eslint-plugin-react": "^7.35.2",
169167
"@pnpm/network.ca-file/graceful-fs": "~4.2.10",
170168
"@react-native-community/cli": "^14.0.0",
171169
"@react-native-community/cli-platform-android": "^14.0.0",

0 commit comments

Comments
 (0)