Comments (4)
There is not enough info to reproduce this, but since you're now using ESLint: 9.0.0
, please note that the new config format is eslint.config.js
:
https://eslint.org/docs/latest/use/migrate-to-9.0.0#-new-default-config-format-eslintconfigjs
If you're still using the deprecated .eslintrc
config format, you can either:
- Switch to the new config format (https://eslint.org/docs/latest/use/configure/migration-guide)
- Or continue to use the deprecated .eslintrc format for now (note that it will be removed in ESLint v10), but you'll need to set the
ESLINT_USE_FLAT_CONFIG
environment variable tofalse
(https://eslint.org/docs/latest/use/configure/configuration-files-deprecated)
If you are already using the new eslint.config.js
config format, please provide more details and a reproducible example.
from eslint.
Thanks @mdjermanovic for the update, yes we are currently using .eslintrc.yml file in our CICD Pipeline. I tried replacing it with a flat file (eslint.config.js), but it is failing with error in flat file for the way we are declaring it, Appreciate if you could help us create one sample flat file based on our .eslintrc.yml file (attached in comment - eslintrc.PNG)
)
from eslint.
Closing, as this is not a bug.
@Sarmistha91 we have a lot of documentation about how to create config files and migrate config files that were already shared previously. Please use that to update your config file.
from eslint.
It looks like there wasn't enough information for us to know how to help you, so we're closing the issue.
Thanks for your understanding.
from eslint.
Related Issues (20)
- Docs: Unexpected file matching behavior when using `ignores` without `files` HOT 12
- Bug: No files matching the pattern "linebreak-style: [2, windows]" were found. HOT 3
- Change Request: Add autofix for func-style HOT 7
- Scheduled release for May 31st, 2024 HOT 1
- Bug: --inspect-config should always download the latest @eslint/config-inspector? HOT 5
- Change Request: RuleTester should allow testing for a missing node argument in the report HOT 7
- Bug: possible `no-constructor-return` false negative with nested blocks HOT 10
- Bug: Eslint 9 CLI doest work HOT 2
- Bug: ignores key is not ignoring the specified files/directory HOT 1
- Bug: `No matching configuration found` warning for code block matched only by non-universal patterns HOT 2
- Docs: CommonJS examples HOT 8
- Change Request: Supporting custom rule usage for ESModule projects HOT 4
- Cannot read config file: eslint.config.mjs HOT 4
- Bug: Out of Memory Error with 203 files HOT 1
- Providing non-default extensions via CLI. HOT 7
- Question: Unexpected key "typescript" found HOT 1
- Bug: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory HOT 2
- Change Request: Enhancement to the Node API to way to get list of all available rules before running HOT 2
- Bug: (v8) eslint@8 dep file-entry-cache@6 deprecated transient dependencies HOT 10
- Rule Change: Support simple regex in no-restricted-imports group HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint.