mirror of
https://github.com/zkitter/configs.git
synced 2026-01-08 21:17:59 -05:00
fix eslint package name
Required to be named `../eslint-config` https://eslint.org/docs/latest/developer-guide/shareable-configs#npm-scoped-modules
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@r1oga/config-eslint",
|
"name": "@r1oga/eslint-config",
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"description": "Shared eslint configuration",
|
"description": "Shared eslint configuration",
|
||||||
"main": ".eslintrc.yaml",
|
"main": ".eslintrc.yaml",
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
lib=@r1oga/config-eslint
|
# see sharing eslint config & npm scoped modules https://eslint.org/docs/latest/developer-guide/shareable-configs#npm-scoped-modules
|
||||||
|
echo "extends: ['@r1oga']" > "$INIT_CWD/.eslintrc.yaml"
|
||||||
echo "extends: $lib" > "$INIT_CWD/.eslintrc.yaml"
|
|
||||||
cp .eslintignore "$INIT_CWD/.eslintignore"
|
cp .eslintignore "$INIT_CWD/.eslintignore"
|
||||||
|
|||||||
Reference in New Issue
Block a user