Removed old rules from eslint

Tried hand at testing by fixing the spec files with import. However, still many errors and given up now.
This commit is contained in:
2020-10-02 16:24:29 +05:30
parent d77053d92a
commit cefb3ebdcc
118 changed files with 410 additions and 418 deletions

View File

@ -57,6 +57,7 @@
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^5.1.0",
@ -64,11 +65,26 @@
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine-html-reporter": "^1.5.0",
"lint-staged": "^10.4.0",
"mathjs": "^7.3.0",
"prettier": "^2.1.2",
"protractor": "~7.0.0",
"standard-version": "^8.0.2",
"ts-node": "^8.10.2",
"typescript": "3.9.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "ng build --prod"
}
},
"lint-staged": {
"./src/*.{js,jsx,ts,tsx}": [
"npx prettier --write"
],
"./src/*.{js,jsx,ts,tsx, css, html}": [
"eslint --cache --fix"
]
}
}