Browse Source

Use old eslint config

yann300-patch-36
David Disu 5 months ago
committed by yann300
parent
commit
6b78b444d2
  1. 21
      .eslintrc
  2. 8
      .eslintrc.json
  3. 2
      apps/remix-ide-e2e/.eslintrc
  4. 2
      apps/remix-ide-e2e/src/local-plugin/.eslintrc
  5. 2
      libs/remix-analyzer/.eslintrc
  6. 2
      libs/remix-astwalker/.eslintrc
  7. 2
      libs/remix-core-plugin/.eslintrc
  8. 2
      libs/remix-debug/.eslintrc
  9. 2
      libs/remix-lib/.eslintrc
  10. 2
      libs/remix-simulator/.eslintrc
  11. 2
      libs/remix-solidity/.eslintrc
  12. 2
      libs/remix-tests/.eslintrc
  13. 2
      libs/remix-ui/clipboard/.eslintrc
  14. 2
      libs/remix-ui/run-tab/.eslintrc.json
  15. 2
      libs/remix-url-resolver/.eslintrc
  16. 2
      libs/remixd/.eslintrc

21
.eslintrc

@ -0,0 +1,21 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.base.json"
},
"plugins": ["@typescript-eslint", "@nrwl/nx"],
"extends": "standard",
"rules": {
},
"overrides": [
{
"files": ["*.tsx"],
"rules": {
"@typescript-eslint/no-unused-vars": "off"
}
}
]
}

8
.eslintrc.json

@ -24,7 +24,13 @@
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {}
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-empty-function": "off",
"eslint-disable-next-line no-empty": "off",
"no-empty": "off"
}
},
{
"files": ["*.js", "*.jsx"],

2
apps/remix-ide-e2e/.eslintrc

@ -11,6 +11,6 @@
}
}
],
"extends": ["../../.eslintrc.json"],
"extends": ["../../.eslintrc"],
"ignorePatterns": ["!**/*"]
}

2
apps/remix-ide-e2e/src/local-plugin/.eslintrc

@ -243,6 +243,6 @@
},
"settings": { "react": { "version": "detect" } },
"plugins": ["import", "jsx-a11y", "react", "react-hooks"],
"extends": ["../../../../.eslintrc.json"],
"extends": ["../../../../.eslintrc"],
"ignorePatterns": ["!**/*"]
}

2
libs/remix-analyzer/.eslintrc

@ -1,5 +1,5 @@
{
"extends": "../../.eslintrc.json",
"extends": "../../.eslintrc",
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",

2
libs/remix-astwalker/.eslintrc

@ -1,5 +1,5 @@
{
"extends": "../../.eslintrc.json",
"extends": "../../.eslintrc",
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/prefer-namespace-keyword": "off",

2
libs/remix-core-plugin/.eslintrc

@ -1 +1 @@
{ "extends": "../../.eslintrc.json", "rules": {}, "ignorePatterns": ["!**/*"] }
{ "extends": "../../.eslintrc", "rules": {}, "ignorePatterns": ["!**/*"] }

2
libs/remix-debug/.eslintrc

@ -1,5 +1,5 @@
{
"extends": "../../.eslintrc.json",
"extends": "../../.eslintrc",
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "off",

2
libs/remix-lib/.eslintrc

@ -1,5 +1,5 @@
{
"extends": "../../.eslintrc.json",
"extends": "../../.eslintrc",
"rules": {
"standard/no-callback-literal": "off",
"no-unused-vars": "off",

2
libs/remix-simulator/.eslintrc

@ -1,5 +1,5 @@
{
"extends": "../../.eslintrc.json",
"extends": "../../.eslintrc",
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-empty-function": "off",

2
libs/remix-solidity/.eslintrc

@ -1,5 +1,5 @@
{
"extends": "../../.eslintrc.json",
"extends": "../../.eslintrc",
"rules": {
"dot-notation": "off",
"no-unused-vars": "off",

2
libs/remix-tests/.eslintrc

@ -1,5 +1,5 @@
{
"extends": "../../.eslintrc.json",
"extends": "../../.eslintrc",
"rules": {
"dot-notation": "off",
"no-unused-vars": "off",

2
libs/remix-ui/clipboard/.eslintrc

@ -243,6 +243,6 @@
},
"settings": { "react": { "version": "detect" } },
"plugins": ["import", "jsx-a11y", "react", "react-hooks"],
"extends": ["../../../.eslintrc.json"],
"extends": ["../../../.eslintrc"],
"ignorePatterns": ["!**/*"]
}

2
libs/remix-ui/run-tab/.eslintrc.json

@ -1,5 +1,5 @@
{
"extends": ["plugin:@nrwl/nx/react", "../../../.eslintrc.json"],
"extends": ["plugin:@nrwl/nx/react", "../../../.eslintrc"],
"ignorePatterns": ["!**/*"],
"overrides": [
{

2
libs/remix-url-resolver/.eslintrc

@ -1,5 +1,5 @@
{
"extends": "../../.eslintrc.json",
"extends": "../../.eslintrc",
"rules": {},
"env": {
"browser": true,

2
libs/remixd/.eslintrc

@ -1 +1 @@
{ "extends": "../../.eslintrc.json", "rules": {}, "ignorePatterns": ["!**/*"] }
{ "extends": "../../.eslintrc", "rules": {}, "ignorePatterns": ["!**/*"] }

Loading…
Cancel
Save