Replace TSLint
This commit is contained in:
+1
-3
@@ -23,9 +23,7 @@
|
|||||||
"build": "NODE_ENV=production npm-run-all build:client build:server",
|
"build": "NODE_ENV=production npm-run-all build:client build:server",
|
||||||
"build:server": "webpack -p --config=configs/webpack/prod.js --env.platform=server",
|
"build:server": "webpack -p --config=configs/webpack/prod.js --env.platform=server",
|
||||||
"build:client": "webpack -p --config=configs/webpack/prod.js --env.platform=client",
|
"build:client": "webpack -p --config=configs/webpack/prod.js --env.platform=client",
|
||||||
"lint": "npm run lint:ts && npm run lint:sass",
|
"lint": "npm run lint:es && npm run lint:sass",
|
||||||
"lint:ts": "tslint -p tsconfig.json --format stylish --exclude node_modules",
|
|
||||||
"lint:ts:fix": "tslint -p tsconfig.json --format stylish --exclude node_modules --fix",
|
|
||||||
"lint:es": "eslint './src/**/*.ts*'",
|
"lint:es": "eslint './src/**/*.ts*'",
|
||||||
"lint:es:fix": "eslint --fix './src/**/*.ts*'",
|
"lint:es:fix": "eslint --fix './src/**/*.ts*'",
|
||||||
"lint:sass": "stylelint ./src/**/**/*.scss ./src/**/*.scss ./src/*.scss",
|
"lint:sass": "stylelint ./src/**/**/*.scss ./src/**/*.scss ./src/*.scss",
|
||||||
|
|||||||
-105
@@ -1,105 +0,0 @@
|
|||||||
{
|
|
||||||
"jsRules": {
|
|
||||||
"class-name": true,
|
|
||||||
"comment-format": [
|
|
||||||
true,
|
|
||||||
"check-space"
|
|
||||||
],
|
|
||||||
"eofline": true,
|
|
||||||
"indent": [
|
|
||||||
true,
|
|
||||||
"spaces",
|
|
||||||
2
|
|
||||||
],
|
|
||||||
"no-duplicate-variable": true,
|
|
||||||
"no-eval": true,
|
|
||||||
"no-trailing-whitespace": true,
|
|
||||||
"no-unsafe-finally": true,
|
|
||||||
"one-line": [
|
|
||||||
true,
|
|
||||||
"check-open-brace",
|
|
||||||
"check-whitespace"
|
|
||||||
],
|
|
||||||
"quotemark": [
|
|
||||||
true,
|
|
||||||
"double"
|
|
||||||
],
|
|
||||||
"semicolon": [
|
|
||||||
true,
|
|
||||||
"always"
|
|
||||||
],
|
|
||||||
"triple-equals": [
|
|
||||||
true,
|
|
||||||
"allow-null-check"
|
|
||||||
],
|
|
||||||
"variable-name": [
|
|
||||||
true,
|
|
||||||
"ban-keywords"
|
|
||||||
],
|
|
||||||
"whitespace": [
|
|
||||||
true,
|
|
||||||
"check-branch",
|
|
||||||
"check-decl",
|
|
||||||
"check-operator",
|
|
||||||
"check-separator",
|
|
||||||
"check-type"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"rules": {
|
|
||||||
"class-name": true,
|
|
||||||
"comment-format": [
|
|
||||||
true,
|
|
||||||
"check-space"
|
|
||||||
],
|
|
||||||
"eofline": true,
|
|
||||||
"indent": [
|
|
||||||
true,
|
|
||||||
"spaces",
|
|
||||||
2
|
|
||||||
],
|
|
||||||
"no-eval": true,
|
|
||||||
"no-internal-module": true,
|
|
||||||
"no-trailing-whitespace": true,
|
|
||||||
"no-unsafe-finally": true,
|
|
||||||
"no-var-keyword": true,
|
|
||||||
"one-line": [
|
|
||||||
true,
|
|
||||||
"check-open-brace",
|
|
||||||
"check-whitespace"
|
|
||||||
],
|
|
||||||
"quotemark": [
|
|
||||||
true,
|
|
||||||
"double"
|
|
||||||
],
|
|
||||||
"semicolon": [
|
|
||||||
true,
|
|
||||||
"always"
|
|
||||||
],
|
|
||||||
"triple-equals": [
|
|
||||||
true,
|
|
||||||
"allow-null-check"
|
|
||||||
],
|
|
||||||
"typedef-whitespace": [
|
|
||||||
true,
|
|
||||||
{
|
|
||||||
"call-signature": "nospace",
|
|
||||||
"index-signature": "nospace",
|
|
||||||
"parameter": "nospace",
|
|
||||||
"property-declaration": "nospace",
|
|
||||||
"variable-declaration": "nospace"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"variable-name": [
|
|
||||||
true,
|
|
||||||
"ban-keywords"
|
|
||||||
],
|
|
||||||
"whitespace": [
|
|
||||||
true,
|
|
||||||
"check-branch",
|
|
||||||
"check-decl",
|
|
||||||
"check-operator",
|
|
||||||
"check-separator",
|
|
||||||
"check-type"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user