@ankhorage/devtools 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,6 +19,7 @@
19
19
  *
20
20
  * @readme
21
21
  */
22
+ import { fixupPluginRules } from '@eslint/compat';
22
23
  import js from '@eslint/js';
23
24
  import prettierConfig from 'eslint-config-prettier';
24
25
  import importPlugin from 'eslint-plugin-import';
@@ -177,7 +178,7 @@ function createReactConfig(files) {
177
178
  function createReactNativeConfig(files) {
178
179
  return {
179
180
  files,
180
- plugins: { 'react-native': reactNativePlugin },
181
+ plugins: { 'react-native': fixupPluginRules(reactNativePlugin) },
181
182
  rules: {
182
183
  'react-native/no-inline-styles': 'warn',
183
184
  'react-native/no-unused-styles': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/devtools",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Shared development tools and repository standards for Ankhorage",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/ankhorage/devtools#readme",
@@ -96,8 +96,9 @@
96
96
  },
97
97
  "dependencies": {
98
98
  "@ankhorage/utility": "^0.1.1",
99
+ "@eslint/compat": "^2.1.0",
99
100
  "@eslint/js": "^10.0.1",
100
- "eslint": "^10.2.0",
101
+ "eslint": "^10.7.0",
101
102
  "eslint-config-prettier": "^10.1.8",
102
103
  "eslint-plugin-import": "^2.32.0",
103
104
  "eslint-plugin-prettier": "^5.5.5",