Skip to content

Commit 6355e73

Browse files
committed
fix: add names to config objects
1 parent 2a8e06e commit 6355e73

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

base.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ import { restrictedGlobals } from './noRestrictedGlobals.js';
88

99
export default defineConfig(
1010
// Add the jsx extension to linted files.
11-
{ files: ['**/*.jsx'] },
1211
{
12+
name: 'cheminfo/react/lint-jsx',
13+
files: ['**/*.jsx'],
14+
},
15+
{
16+
name: 'cheminfo/react/rules',
1317
languageOptions: {
1418
globals: {
1519
...globals.browser,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"homepage": "https://github.com/cheminfo/eslint-config-cheminfo-react#readme",
3434
"dependencies": {
35-
"eslint-config-cheminfo": "^14.1.0",
35+
"eslint-config-cheminfo": "^14.1.1",
3636
"eslint-plugin-react": "^7.37.5",
3737
"eslint-plugin-react-hooks": "^5.2.0",
3838
"eslint-plugin-react-refresh": "^0.4.20",

0 commit comments

Comments
 (0)