ewlsh / eslint-plugin-gjs Goto Github PK
View Code? Open in Web Editor NEWGJS plugin for ESLint. Obeys the Gnome JavaScript style guide.
License: MIT License
GJS plugin for ESLint. Obeys the Gnome JavaScript style guide.
License: MIT License
I was just really happy to find this plugin. But it does not seem to work with eslint ^5
Hey there, I'm getting an issue trying to use this extension. Followed the README.
$ DEBUG=eslint:* eslint .
eslint:cli Running on files +0ms
eslint:glob-util Creating list of files to process. +0ms
eslint:ignored-paths Looking for ignore file in /home/michael/.local/share/gnome-shell/extensions/[email protected] +0ms
eslint:ignored-paths Could not find ignore file in cwd +0ms
eslint:cli-engine Processing /home/michael/.local/share/gnome-shell/extensions/[email protected]/extension.js +0ms
eslint:cli-engine Linting /home/michael/.local/share/gnome-shell/extensions/[email protected]/extension.js +0ms
eslint:config Constructing config file hierarchy for /home/michael/.local/share/gnome-shell/extensions/[email protected] +0ms
eslint:config Using .eslintrc and package.json files +0ms
eslint:config Loading /home/michael/.local/share/gnome-shell/extensions/[email protected]/.eslintrc +1ms
eslint:config-file Loading config file: /home/michael/.local/share/gnome-shell/extensions/[email protected]/.eslintrc +0ms
eslint:plugins Loaded plugin gjs ([email protected]) (from /home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint-plugin-gjs/lib/index.js) +0ms
eslint:config-file Loading plugin:gjs/extension +134ms
eslint:config-file Attempting to resolve eslint-plugin-gjs +0ms
eslint:config-file Loading JS config file: /home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint-plugin-gjs/lib/index.js +0ms
ESLint configuration in plugin:gjs/extension is invalid:
- Unexpected top-level property "plugin".
Referenced from: /home/michael/.local/share/gnome-shell/extensions/[email protected]/.eslintrc
Error: ESLint configuration in plugin:gjs/extension is invalid:
- Unexpected top-level property "plugin".
Referenced from: /home/michael/.local/share/gnome-shell/extensions/[email protected]/.eslintrc
at validateConfigSchema (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config/config-validator.js:221:15)
at Object.validate (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config/config-validator.js:238:5)
at loadFromDisk (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config/config-file.js:516:19)
at load (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config/config-file.js:559:20)
at configExtends.reduceRight (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config/config-file.js:425:36)
at Array.reduceRight (<anonymous>)
at applyExtends (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config/config-file.js:403:26)
at loadFromDisk (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config/config-file.js:523:22)
at Object.load (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config/config-file.js:559:20)
at Config.getLocalConfigHierarchy (/home/michael/.nvm/versions/node/v8.10.0/lib/node_modules/eslint/lib/config.js:227:44)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.