@express-rate-limit/prettier
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -9,7 +9,16 @@ // config.js | ||
bracketSpacing: true, | ||
trailingComma: "all", | ||
proseWrap: "always", | ||
endOfLine: "lf", | ||
}; | ||
trailingComma: 'all', | ||
proseWrap: 'always', | ||
endOfLine: 'lf', | ||
overrides: [ | ||
{ | ||
files: ['package.json', 'package-lock.json'], | ||
options: { | ||
useTabs: false, | ||
tabWidth: 2, | ||
}, | ||
}, | ||
], | ||
} | ||
module.exports = config; | ||
module.exports = config |
{ | ||
"name": "@express-rate-limit/prettier", | ||
"version": "1.0.0", | ||
"description": "The Prettier configuration for all express-rate-limit projects.", | ||
"main": "config.js", | ||
"repository": "https://github.com/express-rate-limit/prettier", | ||
"files": [ | ||
"config.js", | ||
"package.json", | ||
"readme.md" | ||
] | ||
"name": "@express-rate-limit/prettier", | ||
"version": "1.1.0", | ||
"description": "The Prettier configuration for all express-rate-limit projects.", | ||
"main": "config.js", | ||
"repository": "https://github.com/express-rate-limit/prettier", | ||
"files": [ | ||
"config.js", | ||
"package.json", | ||
"readme.md" | ||
], | ||
"scripts": { | ||
"lint": "prettier --ignore-path .gitignore --ignore-unknown --check .", | ||
"format": "prettier --ignore-path .gitignore --ignore-unknown --write .", | ||
"test": "npm run lint" | ||
}, | ||
"prettier": "./config.js", | ||
"devDependencies": { | ||
"prettier": "^3.0.2" | ||
} | ||
} |
# `@express-rate-limit/prettier` | ||
This package exports the Prettier configuration used in all express-rate-limit projects. | ||
This package exports the [Prettier](https://prettier.io/) configuration used in | ||
all express-rate-limit projects. |
1131
21
5
1