mirror of
https://github.com/zkitter/configs.git
synced 2026-01-07 20:54:10 -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",
|
||||
"description": "Shared eslint configuration",
|
||||
"main": ".eslintrc.yaml",
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
lib=@r1oga/config-eslint
|
||||
|
||||
echo "extends: $lib" > "$INIT_CWD/.eslintrc.yaml"
|
||||
# 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"
|
||||
cp .eslintignore "$INIT_CWD/.eslintignore"
|
||||
|
||||
Reference in New Issue
Block a user