Skip to content

Commit b839b94

Browse files
committed
[Dev Deps] update @babel/cli, @babel/node, @babel/preset-react, eslint, eslint-config-airbnb, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react
1 parent ec69436 commit b839b94

File tree

2 files changed

+33
-12
lines changed

2 files changed

+33
-12
lines changed

.eslintrc

+23-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
{
2-
"extends": "airbnb",
3-
"root": true
2+
"extends": "airbnb",
3+
4+
"root": true,
5+
6+
"ignorePatterns": [
7+
"lib/",
8+
],
9+
10+
"overrides": [
11+
{
12+
"files": "test/**",
13+
"rules": {
14+
"no-console": "off",
15+
},
16+
},
17+
{
18+
"files": "test/fixtures/**",
19+
"rules": {
20+
"import/extensions": "off",
21+
"import/no-unresolved": "off",
22+
},
23+
},
24+
],
425
}

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"prepublish": "npm run build",
88
"pretest": "npm run lint",
9-
"lint": "eslint src/",
9+
"lint": "eslint --ext=js,mjs .",
1010
"pretests-only": "npm run build",
1111
"build": "babel src --out-dir lib",
1212
"test": "npm run tests-only",
@@ -31,17 +31,17 @@
3131
},
3232
"homepage": "https://github.com/kesne/babel-plugin-inline-react-svg#readme",
3333
"devDependencies": {
34-
"@babel/cli": "^7.12.16",
34+
"@babel/cli": "^7.20.7",
3535
"@babel/core": "^7.0.0",
36-
"@babel/node": "^7.12.16",
37-
"@babel/preset-react": "^7.12.13",
38-
"aud": "^2.0.0",
36+
"@babel/node": "^7.20.7",
37+
"@babel/preset-react": "^7.18.6",
38+
"aud": "^2.0.2",
3939
"babel-preset-airbnb": "^3.3.2",
40-
"eslint": "^7.20.0",
41-
"eslint-config-airbnb": "^18.2.1",
42-
"eslint-plugin-import": "^2.22.1",
43-
"eslint-plugin-jsx-a11y": "^6.4.1",
44-
"eslint-plugin-react": "^7.22.0",
40+
"eslint": "^8.34.0",
41+
"eslint-config-airbnb": "^19.0.4",
42+
"eslint-plugin-import": "^2.27.5",
43+
"eslint-plugin-jsx-a11y": "^6.7.1",
44+
"eslint-plugin-react": "^7.32.2",
4545
"react": "^15.3.1"
4646
},
4747
"peerDependencies": {

0 commit comments

Comments
 (0)