diff --git a/.changeset/early-crews-beg.md b/.changeset/early-crews-beg.md new file mode 100644 index 0000000..37c2ac2 --- /dev/null +++ b/.changeset/early-crews-beg.md @@ -0,0 +1,5 @@ +--- +'iql': patch +--- + +chore(deps): update dependency eslint-config-altnext to v2 diff --git a/.eslintrc.js b/.eslintrc.js index 47e4e58..834d114 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,4 @@ module.exports = { - extends: ['altnext/type-checking'], + extends: ['altnext'], parserOptions: { tsconfigRootDir: __dirname, project: ['./tsconfig.eslint.json'] }, }; diff --git a/commitlint.config.js b/commitlint.config.js index 84dcb12..422b194 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,3 +1 @@ -module.exports = { - extends: ['@commitlint/config-conventional'], -}; +module.exports = { extends: ['@commitlint/config-conventional'] }; diff --git a/package.json b/package.json index af02abb..3c8cb27 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "coverage": "jest --coverage", "deduplicate": "yarn-deduplicate -s fewer", "docs": "yarn typedoc --disableSources index.ts", - "lint": "eslint --ext .ts . --cache", + "lint": "eslint . --cache", "prepare": "husky install", "prerelease": "yarn build", "release": "changeset publish", @@ -50,7 +50,7 @@ "@types/jest": "27.0.2", "@types/pg": "8.6.1", "@jest/types": "27.1.1", - "eslint-config-altnext": "1.2.6", + "eslint-config-altnext": "2.0.0", "husky": "7.0.2", "jest": "27.2.2", "jest-junit": "12.3.0", @@ -66,6 +66,7 @@ "author": "Altnext Gorillaz", "license": "MIT", "eslintIgnore": [ + "coverage", "dist", "node_modules" ], diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 8d3ad09..94a5fac 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -5,5 +5,5 @@ "allowJs": true }, "exclude": ["**/dist/**/*"], - "include": ["src/**/*", "index.ts", "jest.config.ts"] + "include": ["src/**/*", "index.ts", "jest.config.ts", ".eslintrc.js", ".prettierrc.js", "commitlint.config.js"] } diff --git a/yarn.lock b/yarn.lock index aeda779..f1b5d90 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2278,10 +2278,10 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-altnext@1.2.6: - version "1.2.6" - resolved "https://registry.yarnpkg.com/eslint-config-altnext/-/eslint-config-altnext-1.2.6.tgz#b9dee7d4c59286699937f17b6035fc0f8fb55bae" - integrity sha512-ud/Ya6QbBLFdWl/9qd84g+Pw535zPbH7hBwgpF/5739EchW+Z66UYiMccYWJZTBiLOBK6+waBPL/OsSmcjt6Vg== +eslint-config-altnext@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-altnext/-/eslint-config-altnext-2.0.0.tgz#b76c9239ddf70e687a14b7d4fc2d9284a1fa212c" + integrity sha512-KyJ9l8RAtU9Vn0cfaBnjXclQyz4uIMBzr+Qt5ZPYkayYE+0TRciKBkn6swt5LIGE/USQZWnY3NoDGcDG04TZqg== dependencies: "@typescript-eslint/eslint-plugin" "4.31.2" "@typescript-eslint/parser" "4.31.2"