Skip to content

Commit 2f04b5c

Browse files
committed
chore: remove eclint
1 parent f7736b4 commit 2f04b5c

File tree

8 files changed

+374
-522
lines changed

8 files changed

+374
-522
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"@verdaccio"
44
],
55
"rules": {
6-
"@typescript-eslint/no-var-requires": ["warn"],
6+
"@typescript-eslint/no-var-requires": 0,
77
"@typescript-eslint/ban-ts-ignore": 0,
88
"@typescript-eslint/no-inferrable-types": ["warn"],
99
"@typescript-eslint/no-empty-function": ["warn"],

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ script:
77
- yarn install
88
- commitlint-travis
99
- yarn license
10-
- yarn lint
10+
- yarn lint:ts
1111
- yarn code:build
1212
- yarn test:all

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"license": "license-checker --onlyAllow 'Apache-2.0; Apache License, Version 2.0; BSD; BSD-2-Clause; BSD-3-Clause; ISC; MIT; Unlicense; WTFPL; CC-BY-3.0; CC0-1.0' --production",
1111
"type-check:watch": "npm run type-check -- --watch",
1212
"lint:ts": "eslint . --ext .js,.ts",
13-
"lint": "yarn type-check && yarn lint:ts && eclint check $(git ls-files) && markdownlint README.md",
13+
"lint": "yarn type-check && npm run lint:ts",
1414
"prepublish": "in-publish && yarn lint && yarn code:build || not-in-publish",
1515
"release:major": "changelog -M && git commit -a -m 'docs: updated CHANGELOG.md' && yarn version --major && git push origin && git push origin --tags",
1616
"release:minor": "changelog -m && git commit -a -m 'docs: updated CHANGELOG.md' && yarn version --minor && git push origin && git push origin --tags",
@@ -60,35 +60,34 @@
6060
"@commitlint/cli": "7.0.0",
6161
"@commitlint/config-conventional": "7.0.1",
6262
"@commitlint/travis-cli": "7.0.0",
63-
"@types/http-errors": "1.6.1",
64-
"@types/jest": "24.0.15",
65-
"@types/lodash": "^4.14.141",
66-
"@types/node": "^12.0.10",
67-
"@typescript-eslint/eslint-plugin": "2.1.0",
63+
"@types/http-errors": "1.6.2",
64+
"@types/jest": "24.0.22",
65+
"@types/lodash": "^4.14.146",
66+
"@types/node": "^12.12.7",
67+
"@typescript-eslint/eslint-plugin": "2.6.1",
6868
"@verdaccio/babel-preset": "^8.2.0",
6969
"@verdaccio/commons-api": "^8.2.0",
7070
"@verdaccio/eslint-config": "^8.2.0",
7171
"@verdaccio/types": "^8.3.0",
7272
"body-parser": "^1.18.3",
7373
"chalk": "^2.4.1",
7474
"cross-env": "^5.2.0",
75-
"eclint": "^2.8.1",
7675
"eslint": "^6.3.0",
7776
"express": "^4.16.3",
7877
"generate-changelog": "1.7.1",
7978
"http-status": "^1.2.0",
8079
"husky": "0.14.3",
8180
"in-publish": "2.0.0",
82-
"jest": "24.8.0",
81+
"jest": "24.9.0",
8382
"jest-environment-node": "^23.4.0",
8483
"license-checker": "20.1.0",
85-
"lodash": "^4.17.10",
86-
"markdownlint-cli": "0.11.0",
87-
"prettier": "^1.18.2",
84+
"lodash": "^4.17.15",
85+
"markdownlint-cli": "0.19.0",
86+
"prettier": "^1.19.1",
8887
"repolinter": "0.7.0",
8988
"request": "^2.88.0",
9089
"rimraf": "^2.6.2",
91-
"typescript": "3.7.1-rc"
90+
"typescript": "3.7.2"
9291
},
9392
"commitlint": {
9493
"extends": [

test/.eslintrc.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

test/functional/.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rules": {
3+
"no-console": 0,
4+
"@typescript-eslint/no-unused-vars": 0
5+
}
6+
}

test/functional/access/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CREDENTIALS, PACKAGE } from '../config.functional';
22
import { API_ERROR, HTTP_STATUS } from '../../lib/constants';
33

4-
export default (server: any, gitlab: any) => {
4+
export default (server: any, _gitlab: any) => {
55
// eslint-disable-line no-unused-vars
66

77
describe('package access tests', () => {

test/unit/gitlab.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Callback, RemoteUser } from '@verdaccio/types';
2-
import Gitlab from 'gitlab'; // eslint-disable-line no-unused-vars
2+
// eslint-disable-line @typescript-eslint/no-unused-vars
3+
import Gitlab from 'gitlab';
34

45
import { VerdaccioGitlabPackageAccess } from '../../src/gitlab';
56
import VerdaccioGitlab from '../../src/gitlab';

0 commit comments

Comments
 (0)