Skip to content

Commit

Permalink
revert to ESLint 8 (#231)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefano Ricci <[email protected]>
  • Loading branch information
SteRiccio and SteRiccio authored Jun 13, 2024
1 parent 4007f8c commit 1788d3d
Show file tree
Hide file tree
Showing 5 changed files with 943 additions and 821 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
**/jsep.ts
26 changes: 26 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"env": {
"es6": true,
"node": true,
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module",
},
"plugins": ["@typescript-eslint", "eslint-plugin-no-explicit-type-exports"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"],
},
},
},
"rules": {
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"no-explicit-type-exports/no-explicit-type-exports": 2,
},
}
10 changes: 0 additions & 10 deletions eslint.config.mjs

This file was deleted.

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,24 @@
"license": "MIT",
"devDependencies": {
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.4.0",
"@types/jest": "^29.5.12",
"@types/lodash.differencewith": "^4.5.9",
"@types/lodash.frompairs": "^4.0.9",
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.topairs": "^4.3.9",
"@types/proj4": "^2.5.5",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "^9.4.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.49.0",
"eslint-plugin-no-explicit-type-exports": "^0.12.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
"lint-staged": "^14.0.1",
"npm-run-all": "^4.1.5",
"prettier": "3.3.2",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.0"
"typescript": "^5.4.5"
},
"dependencies": {
"@jsep-plugin/regex": "^1.0.3",
Expand Down
Loading

0 comments on commit 1788d3d

Please sign in to comment.