Skip to content

Commit

Permalink
Update ESLint packages
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Apr 7, 2022
1 parent 4f49c9c commit 5636de3
Show file tree
Hide file tree
Showing 4 changed files with 486 additions and 492 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"root": true,
"plugins": ["prettier", "@babel/development", "import"],
"extends": "babel",
"extends": "eslint:recommended",
"parser": "@babel/eslint-parser",
"rules": {
"prettier/prettier": "error"
},
"env": { "node": true },
"env": { "node": true, "es6": true },
"overrides": [
{
"files": ["**/*.ts"],
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@
"babel-jest": "^24.8.0",
"chalk": "^3.0.0",
"electron-to-chromium": "^1.3.683",
"eslint": "^6.8.0",
"eslint-config-babel": "^9.0.0",
"eslint-plugin-flowtype": "^3.8.2",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-prettier": "^3.1.0",
"eslint": "^8.12.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"fancy-log": "^1.3.3",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ function transformTest(name, cwd, file, options = {}) {
let expected;
try {
expected = readFileSync(outputPath, "utf8");
} catch {}
} catch {
// file not yet created
}

let { code } = babel.transformSync(input, {
cwd,
Expand Down
Loading

0 comments on commit 5636de3

Please sign in to comment.