mirror of
https://github.com/captbaritone/webamp
synced 2024-11-22 16:20:49 +00:00
Use --rulesdir
This commit is contained in:
parent
4130b4eafb
commit
39da735f17
@ -13,8 +13,7 @@
|
||||
"prettier",
|
||||
"import",
|
||||
"@typescript-eslint",
|
||||
"react-hooks",
|
||||
"eslint-plugin-local-rules"
|
||||
"react-hooks"
|
||||
],
|
||||
"settings": {
|
||||
"react": {
|
||||
|
@ -3,8 +3,8 @@
|
||||
// TODO: Turn these all back on
|
||||
// For now we want to be able to define maki method arguments even though we don't use them.
|
||||
"@typescript-eslint/no-unused-vars": "off",
|
||||
"local-rules/maki-missing-methods": "error",
|
||||
"local-rules/maki-class": "error",
|
||||
"local-rules/maki-method-types": "error"
|
||||
"maki-missing-methods": "error",
|
||||
"maki-class": "error",
|
||||
"maki-method-types": "error"
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"lint-fix": "eslint . --ext ts,tsx,js --fix",
|
||||
"lint": "eslint . --ext ts,tsx,js",
|
||||
"lint": "eslint . --ext ts,tsx,js --rulesdir=modern/eslint",
|
||||
"type-check": "tsc",
|
||||
"build": "webpack --config=demo/config/webpack.prod.js",
|
||||
"build-library": "webpack --config=config/webpack.library.js",
|
||||
@ -97,7 +97,6 @@
|
||||
"data-uri-to-buffer": "^2.0.0",
|
||||
"eslint": "^6.5.1",
|
||||
"eslint-plugin-import": "^2.18.2",
|
||||
"eslint-plugin-local-rules": "^0.1.1",
|
||||
"eslint-plugin-prettier": "^3.1.0",
|
||||
"eslint-plugin-react": "^7.16.0",
|
||||
"file-loader": "^2.0.0",
|
||||
|
@ -4390,11 +4390,6 @@ eslint-plugin-import@^2.18.2:
|
||||
read-pkg-up "^2.0.0"
|
||||
resolve "^1.11.0"
|
||||
|
||||
eslint-plugin-local-rules@^0.1.1:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-local-rules/-/eslint-plugin-local-rules-0.1.1.tgz#4fa5921389383f10cc1e6cfeb1c24e11597e8cef"
|
||||
integrity sha512-+Wlic7MSxhVeGJT7a8vf7thVnzlRiessyHNaaOFT7PFlQS6Ff1oMO9vD803CSI5y6Nhu/+f+bVWGUDf8SRDxvg==
|
||||
|
||||
eslint-plugin-prettier@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.0.tgz#8695188f95daa93b0dc54b249347ca3b79c4686d"
|
||||
|
Loading…
Reference in New Issue
Block a user