git4refactor
filip mertens 6 months ago
commit 7da0d585f3
  1. 8
      .eslintrc.json
  2. 8
      apps/circuit-compiler/project.json
  3. 8
      apps/debugger/project.json
  4. 8
      apps/doc-gen/project.json
  5. 8
      apps/doc-viewer/project.json
  6. 8
      apps/etherscan/project.json
  7. 8
      apps/learneth/project.json
  8. 8
      apps/solhint/project.json
  9. 8
      apps/solidity-compiler/project.json
  10. 8
      apps/vyper/project.json
  11. 8
      apps/walletconnect/project.json
  12. 3
      libs/ghaction-helper/project.json
  13. 3
      libs/remix-analyzer/project.json
  14. 3
      libs/remix-astwalker/project.json
  15. 3
      libs/remix-core-plugin/project.json
  16. 3
      libs/remix-debug/project.json
  17. 3
      libs/remix-lib/project.json
  18. 3
      libs/remix-simulator/project.json
  19. 3
      libs/remix-solidity/project.json
  20. 3
      libs/remix-tests/project.json
  21. 3
      libs/remix-url-resolver/project.json
  22. 3
      libs/remix-ws-templates/project.json
  23. 3
      libs/remixd/project.json
  24. 14
      lintpr.sh

@ -54,7 +54,13 @@
"react-hooks/exhaustive-deps": "off",
"array-callback-return": "off",
"prefer-spread": "off",
"indent": ["error", 2]
"indent": ["error", 2],
"keyword-spacing": ["error", { "after": true, "before": true }],
"array-bracket-spacing": ["error", "never"],
"object-curly-spacing": ["error", "always", { "arraysInObjects": false }],
"no-trailing-spaces": "error",
"no-multi-spaces": "error",
"no-multiple-empty-lines": ["error" , { "max": 1}]
}
},
{

@ -35,6 +35,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/circuit-compiler/**/*.ts"],
"eslintConfig": "apps/circuit-compiler/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -40,6 +40,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/debugger/**/*.ts"],
"eslintConfig": "apps/debugger/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -38,6 +38,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/doc-gen/**/*.ts"],
"eslintConfig": "apps/doc-gen/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -38,6 +38,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/doc-viewer/**/*.ts"],
"eslintConfig": "apps/doc-viewer/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -38,6 +38,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/etherscan/**/*.ts"],
"eslintConfig": "apps/etherscan/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -35,6 +35,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/learneth/**/*.ts"],
"eslintConfig": "apps/learneth/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -47,6 +47,14 @@
"parallel": false
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/solhint/**/*.ts"],
"eslintConfig": "apps/solhint/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -41,6 +41,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/solidity-compiler/**/*.ts"],
"eslintConfig": "apps/solidity-compiler/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -38,6 +38,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/vyper/**/*.ts"],
"eslintConfig": "apps/vyper/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -35,6 +35,14 @@
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/walletconnect/**/*.ts"],
"eslintConfig": "apps/walletconnect/.eslintrc"
}
},
"serve": {
"executor": "@nrwl/webpack:dev-server",
"defaultConfiguration": "development",

@ -22,7 +22,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/ghaction-helper/**/*.ts"]
"lintFilePatterns": ["libs/ghaction-helper/**/*.ts"],
"eslintConfig": "libs/ghaction-helper/.eslintrc"
}
}
},

@ -25,7 +25,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-analyzer/**/*.ts"]
"lintFilePatterns": ["libs/remix-analyzer/**/*.ts"],
"eslintConfig": "libs/remix-analyzer/.eslintrc"
}
}
},

@ -24,7 +24,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-astwalker/**/*.ts"]
"lintFilePatterns": ["libs/remix-astwalker/**/*.ts"],
"eslintConfig": "libs/remix-astwalker/.eslintrc"
}
}
},

@ -19,7 +19,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-core-plugin/**/*.ts"]
"lintFilePatterns": ["libs/remix-core-plugin/**/*.ts"],
"eslintConfig": "libs/remix-core-plugin/.eslintrc"
}
}
},

@ -34,7 +34,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-debug/**/*.ts"]
"lintFilePatterns": ["libs/remix-debug/**/*.ts"],
"eslintConfig": "libs/remix-debug/.eslintrc"
}
}
},

@ -21,7 +21,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-lib/**/*.ts"]
"lintFilePatterns": ["libs/remix-lib/**/*.ts"],
"eslintConfig": "libs/remix-lib/.eslintrc"
}
}
},

@ -33,7 +33,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-simulator/**/*.ts"]
"lintFilePatterns": ["libs/remix-simulator/**/*.ts"],
"eslintConfig": "libs/remix-simulator/.eslintrc"
}
}
},

@ -24,7 +24,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-solidity/**/*.ts"]
"lintFilePatterns": ["libs/remix-solidity/**/*.ts"],
"eslintConfig": "libs/remix-solidity/.eslintrc"
}
}
},

@ -41,7 +41,8 @@
"options": {
"lintFilePatterns": [
"libs/remix-tests/**/*.ts"
]
],
"eslintConfig": "libs/remix-tests/.eslintrc"
}
}
},

@ -23,7 +23,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-url-resolver/**/*.ts"]
"lintFilePatterns": ["libs/remix-url-resolver/**/*.ts"],
"eslintConfig": "libs/remix-url-resolver/.eslintrc"
}
}
},

@ -40,7 +40,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remix-ws-templates/**/*.ts"]
"lintFilePatterns": ["libs/remix-ws-templates/**/*.ts"],
"eslintConfig": "libs/remix-ws-templates/.eslintrc"
}
}
},

@ -24,7 +24,8 @@
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/remixd/**/*.ts"]
"lintFilePatterns": ["libs/remixd/**/*.ts"],
"eslintConfig": "libs/remixd/.eslintrc"
}
}
},

@ -0,0 +1,14 @@
#!/bin/bash
# Find all project.json files in subdirectories
find . -type d -name 'node_modules' -prune -o -name '.eslintrc' -print | while read -r file; do
# Extract the directory path of the file
dir=$(dirname "$file")
echo $file
git checkout master -- $file
done
Loading…
Cancel
Save