Skip to content

Commit 54087dc

Browse files
authored
Eng sys: Update eslint to 9.x, update the config format, add some security rules (#3925)
* update eslint to 9.x and use new flat config format with security rules * Change files * remove conversion script
1 parent 49dd266 commit 54087dc

File tree

239 files changed

+2066
-524
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+2066
-524
lines changed

apps/E2E/.eslintrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/E2E/eslint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const baseConfig = require('@fluentui-react-native/eslint-config-rules');
2+
3+
module.exports = baseConfig;

apps/component-generator/component-templates/ComponentTemplate/.eslintrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const baseConfig = require('@fluentui-react-native/eslint-config-rules');
2+
3+
module.exports = baseConfig;

apps/fluent-tester/.eslintrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/fluent-tester/eslint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const baseConfig = require('@fluentui-react-native/eslint-config-rules');
2+
3+
module.exports = baseConfig;

apps/win32/.eslintrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/win32/eslint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const baseConfig = require('@fluentui-react-native/eslint-config-rules');
2+
3+
module.exports = baseConfig;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "update eslint to 9.x and use new flat config format with security rules",
4+
"packageName": "@fluentui/react-native",
5+
"email": "[email protected]",
6+
"dependentChangeType": "none"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "none",
3+
"comment": "update eslint to 9.x and use new flat config format with security rules",
4+
"packageName": "@fluentui-react-native/adapters",
5+
"email": "[email protected]",
6+
"dependentChangeType": "none"
7+
}

0 commit comments

Comments
 (0)