mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 09:17:09 +08:00
This plugin needs to be used to write our own custom ESLint plugins that live in our repository. It replaces the `rulesdir` CLI option, as the solution of putting it in `.eslintrc.js` is compatible with code editor plugins. I also discovered that we were incorrectly running clang-format on `node_modules`, as I recently fixed the PRESUBMIT. To make sure that doens't happen again, add a `.clang-format` that disables the formatting in that folder. DISABLE_THIRD_PARTY_CHECK=Add new node_module Bug: 1060123 Change-Id: Ib2c0d23f499604deeea51cb06192bce3a7aa89af Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2096449 Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
24 lines
545 B
JSON
24 lines
545 B
JSON
{
|
|
"author": "Teddy Katz",
|
|
"description": "Allows a local ESLint rules directory to be used without a command-line flag",
|
|
"devDependencies": {
|
|
"eslint": ">=3",
|
|
"eslint-config-airbnb-base": "^11.2.0",
|
|
"eslint-plugin-import": "^2.6.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.0.0"
|
|
},
|
|
"keywords": [
|
|
"eslint",
|
|
"eslintplugin",
|
|
"eslint-plugin"
|
|
],
|
|
"license": "MIT",
|
|
"name": "eslint-plugin-rulesdir",
|
|
"scripts": {
|
|
"lint": "eslint .eslintrc.js *.js **/*.js",
|
|
"test": "npm run lint"
|
|
},
|
|
"version": "0.1.0"
|
|
} |