Giter Site home page Giter Site logo

Comments (10)

mightyiam avatar mightyiam commented on May 26, 2024 3

Sorry. @geekytime is correct. We (I, @rostislav-simonik and @jay-bulk) simply don't have the npm permissions necessary to do this yet.

from eslint-config-standard.

mightyiam avatar mightyiam commented on May 26, 2024 3

To publish this package, that is.

from eslint-config-standard.

EliRobinson avatar EliRobinson commented on May 26, 2024 2

While we wait patiently for this to come true, has anyone figured out a workaround to bypass the parserOptions errors?

from eslint-config-standard.

mightyiam avatar mightyiam commented on May 26, 2024 1

Just wanted to let those following know that I no longer participate here, because I was never granted the trust of the original author.

I took my work to eslint-config-love.

from eslint-config-standard.

geekytime avatar geekytime commented on May 26, 2024

It looks like the flat config is available on the master branch, so it's the default in the docs, but it hasn't been published, yet. I think the @latest published version is still the old-style config.

from eslint-config-standard.

jaridmargolin avatar jaridmargolin commented on May 26, 2024

@mightyiam - Is there any interest in tagging/creating a git release so folks can still use the new config via a github URL?

from eslint-config-standard.

mightyiam avatar mightyiam commented on May 26, 2024

@mcollina we need publish permissions.

from eslint-config-standard.

JamiesonRoberts avatar JamiesonRoberts commented on May 26, 2024

Any update on this? Or getting in contact with a maintainer that can either grant permissions or publish to NPM?

Another thought: should probably setup automatic deployment to NPM on a release creation via GitHub, that way it avoids this issue in the future

from eslint-config-standard.

mightyiam avatar mightyiam commented on May 26, 2024

standard/standard#1948

from eslint-config-standard.

donalmurtagh avatar donalmurtagh commented on May 26, 2024

While we wait patiently for this to come true, has anyone figured out a workaround to bypass the parserOptions errors?

Yes!

It's possible to make the current version work in an ESLint v9 flag configuration file using @eslint/compat by following these instructions.

In my case I made these changes to eslint.config.js

import { FlatCompat } from '@eslint/eslintrc'
import { fixupConfigRules } from '@eslint/compat'

const compat = new FlatCompat()

export default [
  ...fixupConfigRules(
    compat.config({
      extends: ['standard']
    })
  ),
  // other config objects
]

from eslint-config-standard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.