eslint-svelte3-preprocess's People
Forkers
sxxoveslint-svelte3-preprocess's Issues
Error when using with eslint 7.32
I have tried the following to set this up:
npm i -D eslint-svelte3-preprocessor
and added
const eslintSveltePreprocessor = require('eslint-svelte3-preprocessor');
const svelteConfig = require('./svelte.config');
// ...
settings: {
'svelte3/preprocessor': eslintSveltePreprocessor(svelteConfig.preprocess);
}
(I already had the eslint-plugin-svelte3
plugin set up.)
When I run eslint, I get the following error:
npx eslint -f scripts/eslint-formatter.cjs --ignore-path .gitignore . "--cache"
Oops! Something went wrong! :(
ESLint: 7.32.0
TypeError: Cannot set property message of which has only a getter
at loadJSConfigFile (/home/wallw/workspace/saffire/ui/node_modules/@eslint/eslintrc/lib/config-array-factory.js:228:19)
at loadConfigFile (/home/wallw/workspace/saffire/ui/node_modules/@eslint/eslintrc/lib/config-array-factory.js:309:20)
at ConfigArrayFactory.loadInDirectory (/home/wallw/workspace/saffire/ui/node_modules/@eslint/eslintrc/lib/config-array-factory.js:502:34)
at CascadingConfigArrayFactory._loadConfigInAncestors (/home/wallw/workspace/saffire/ui/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:379:46)
at CascadingConfigArrayFactory.getConfigArrayForFile (/home/wallw/workspace/saffire/ui/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:300:18)
at FileEnumerator._iterateFilesRecursive (/home/wallw/workspace/saffire/ui/node_modules/eslint/lib/cli-engine/file-enumerator.js:445:49)
at _iterateFilesRecursive.next (<anonymous>)
at FileEnumerator.iterateFiles (/home/wallw/workspace/saffire/ui/node_modules/eslint/lib/cli-engine/file-enumerator.js:296:49)
at iterateFiles.next (<anonymous>)
at CLIEngine.executeOnFiles (/home/wallw/workspace/saffire/ui/node_modules/eslint/lib/cli-engine/cli-engine.js:771:48)
Is there something I am doing incorrectly or is this a bug?
$ node --version
v14.18.0
$ npm --version
8.0.0
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.