8000 Updated dependencies · traitify/eslint-config-traitify@ec253c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec253c8

Browse files
committed
Updated dependencies
1 parent 596dcc2 commit ec253c8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ module.exports = {
55
node: false
66
},
77
extends: ["airbnb"],
8-
parser: "babel-eslint",
9-
plugins: ["babel"],
8+
parser: "@babel/eslint-parser",
9+
plugins: ["@babel"],
1010
rules: {
11+
"@babel/object-curly-spacing": "error", // Replace non-babel version
1112
"arrow-parens": ["error", "always"], // Consistency
12-
"babel/object-curly-spacing": "error", // Replace non-babel version
1313
"class-methods-use-this": "off", // Allows methods to be overridden
1414
"comma-dangle": ["error", "never"], // Unnecessary
1515
"consistent-return": "off", // Makes it hard to return early for conditionals
@@ -22,8 +22,8 @@ module.exports = {
2222
allowChildren: false,
2323
}], // Unnecessary to have nesting for both
2424
"keyword-spacing": ["error", {
25-
before: false,
2625
after: false,
26+
before: false,
2727
overrides: {
2828
as: {before: true, after: true},
2929
case: {before: true, after: true},

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-traitify",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Traitify's base ESLint config",
55
"main": "index.js",
66
"scripts": {
@@ -25,12 +25,12 @@
2525
},
2626
"homepage": "https://github.com/traitify/eslint-config-traitify#readme",
2727
"dependencies": {
28-
"babel-eslint": "10.x || 11.x",
29-
"eslint-config-airbnb": "17.x || 18.x",
28+
"@babel/eslint-parser": "7.x",
29+
"eslint-config-airbnb": "18.x",
3030
"eslint-import-resolver-webpack": "0.x"
3131
},
3232
"peerDependencies": {
33-
"eslint": "5.x || 6.x",
34-
"eslint-plugin-babel": "5.x"
33+
"@babel/eslint-plugin": "7.x",
34+
"eslint": "7.x"
3535
}
3636
}

0 commit comments

Comments
 (0)
0