Commit 4c2fbdea authored by Matt Masurka's avatar Matt Masurka Committed by GitHub

Renames prettier config files (#649)

* Renames prettier config files

* chore: rename the remaining prettierrc files
Co-authored-by: default avatarGeorgios Konstantopoulos <me@gakonst.com>
parent e442dca1
......@@ -8,7 +8,7 @@
"scripts": {
"lint": "yarn lint:fix && yarn lint:check",
"lint:check": "tslint --format stylish --project .",
"lint:fix": "prettier --config ./prettier-config.json --write 'test/**/*.ts'",
"lint:fix": "prettier --config ./.prettierrc.json --write 'test/**/*.ts'",
"build:integration": "./scripts/build.sh",
"build:contracts": "hardhat compile",
"build:contracts:ovm": "hardhat compile --network optimism",
......
../../.prettierrc.json
\ No newline at end of file
......@@ -14,7 +14,7 @@
"clean": "rimraf cache/ dist/ ./tsconfig.build.tsbuildinfo",
"lint": "yarn lint:fix && yarn lint:check",
"lint:check": "tslint --format stylish --project .",
"lint:fix": "prettier --config prettier-config.json --write \"hardhat.config.ts\" \"{src,exec,test}/**/*.ts\"",
"lint:fix": "prettier --config .prettierrc.json --write \"hardhat.config.ts\" \"{src,exec,test}/**/*.ts\"",
"test": "hardhat test --show-stack-traces"
},
"keywords": [
......
../../prettier-config.json
\ No newline at end of file
../../.prettierrc.json
\ No newline at end of file
......@@ -32,7 +32,7 @@
"lint": "yarn run lint:typescript",
"lint:typescript": "tslint --format stylish --project .",
"lint:fix": "yarn run lint:fix:typescript",
"lint:fix:typescript": "prettier --config prettier-config.json --write \"hardhat.config.ts\" \"{src,test}/**/*.ts\"",
"lint:fix:typescript": "prettier --config .prettierrc.json --write \"hardhat.config.ts\" \"{src,test}/**/*.ts\"",
"clean": "rm -rf ./dist ./artifacts ./artifacts-ovm ./cache ./cache-ovm ./tsconfig.build.tsbuildinfo",
"deploy": "./bin/deploy.ts && yarn generate-markdown",
"serve": "./bin/serve_dump.sh",
......
../../prettier-config.json
\ No newline at end of file
../../.prettierrc.json
\ No newline at end of file
......@@ -14,7 +14,7 @@
"build": "tsc -p tsconfig.build.json",
"clean": "rimraf dist/ ./tsconfig.build.tsbuildinfo",
"lint": "tslint --format stylish --project .",
"lint:fix": "prettier --config prettier-config.json --write '{src,test}/**/*.ts'",
"lint:fix": "prettier --config .prettierrc.json --write '{src,test}/**/*.ts'",
"test": "ts-mocha test/**/*.spec.ts"
},
"devDependencies": {
......
../../prettier-config.json
\ No newline at end of file
../../.prettierrc.json
\ No newline at end of file
......@@ -12,7 +12,7 @@
"clean:db": "rimraf ./db",
"lint": "yarn run lint:fix && yarn run lint:check",
"lint:check": "tslint --format stylish --project .",
"lint:fix": "prettier --config prettier-config.json --write \"{src,exec,test}/**/*.ts\"",
"lint:fix": "prettier --config .prettierrc.json --write \"{src,exec,test}/**/*.ts\"",
"start": "ts-node ./src/services/run.ts",
"start:local": "ts-node ./src/services/run.ts | pino-pretty",
"test": "hardhat --config test/config/hardhat.config.ts test",
......
../../prettier-config.json
\ No newline at end of file
../../.prettierrc.json
\ No newline at end of file
......@@ -12,7 +12,7 @@
"build": "tsc -p tsconfig.build.json",
"lint": "yarn run lint:fix && yarn run lint:check",
"lint:check": "tslint --format stylish --project .",
"lint:fix": "prettier --config prettier-config.json --write \"{src,test}/**/*.ts\""
"lint:fix": "prettier --config .prettierrc.json --write \"{src,test}/**/*.ts\""
},
"dependencies": {
"node-fetch": "^2.6.1"
......
../../prettier-config.json
\ No newline at end of file
../../.prettierrc.json
\ No newline at end of file
......@@ -14,7 +14,7 @@
"clean": "rimraf dist/ ./tsconfig.build.tsbuildinfo",
"lint": "yarn lint:fix && yarn lint:check",
"lint:check": "tslint --format stylish --project .",
"lint:fix": "prettier --config prettier-config.json --write \"{src,exec,test}/**/*.ts\""
"lint:fix": "prettier --config .prettierrc.json --write \"{src,exec,test}/**/*.ts\""
},
"keywords": [
"optimism",
......
../../prettier-config.json
\ No newline at end of file
../../.prettierrc.json
\ No newline at end of file
......@@ -12,7 +12,7 @@
"test": "hardhat test --show-stack-traces",
"lint": "yarn lint:fix && yarn lint:check",
"lint:check": "tslint --format stylish --project .",
"lint:fix": "prettier --config ./prettier-config.json --write \"hardhat.config.ts\" \"{src,test}/**/*.ts\"",
"lint:fix": "prettier --config ./.prettierrc.json --write \"hardhat.config.ts\" \"{src,test}/**/*.ts\"",
"clean": "rimraf ./artifacts ./cache ./dist ./tsconfig.build.tsbuildinfo"
},
"peerDependencies": {
......
../../prettier-config.json
\ No newline at end of file
......@@ -27,7 +27,7 @@
"variable-name": false,
"no-focused-test": true,
"array-type": false,
"prettier": [true, "./prettier-config.json"]
"prettier": [true, "./.prettierrc.json"]
},
"linterOptions": {
"exclude": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment