Skip to content

Add eslint, upgrade dependencies, add "Publishing Plugins to npm" page #818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Build: add eslint; upgrade dependencies
  • Loading branch information
timmywil committed Apr 9, 2024
commit 187b37ab6e13585fe0d453d149b54c4d8c719098
6 changes: 1 addition & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab

[package.json]
indent_style = space
indent_size = 2

[*.yml]
[*.{json,yml}]
indent_style = space
indent_size = 2
10 changes: 0 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
<script>{
"title": "Contributing",
"customFields": [
{
"key": "is_chapter",
"value": 0
}
]
}</script>

Depending on your level of experience with some of the workflows common to many open source projects, e.g. git/GitHub, the command line, and setting up a local development environment, contributing to this site may be a breeze or come with a bit of a learning curve. If you fit into the former group, great! Jump ahead to learn how to get started.

But if you think you're part of the second group, and have had trouble participating in open source because of a lack of comfort with the tools, **you're still welcome**! Beyond providing a resource for learning jQuery, a major goal of this site is to provide an encouraging environment for you to develop these skills, while still making a contribution that matters. Many people think that the only way to get involved with a programming project like jQuery is to solve intricate bugs that require a nuanced understanding of the codebase, or to propose enhancements that may or may not be in scope with the development team's plans. The fact is that there's way more: improving documentation, working on web properties, and supporting other users are crucial aspects where more help is always needed. If you're willing to share your time and expertise to help other developers, we're willing to [help you get up to speed with the tools](#getting-help) you'll need.
Expand Down
Empty file modified README.md
100755 → 100644
Empty file.
5 changes: 0 additions & 5 deletions config-sample.json

This file was deleted.

18 changes: 18 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const jqueryConfig = require( "eslint-config-jquery" );
const globals = require( "globals" );

module.exports = [
{
ignores: [ "dist" ]
},

{
files: [ "eslint.config.js", "Gruntfile.js" ],
languageOptions: {
globals: {
...globals.node
}
},
rules: jqueryConfig.rules
}
];
Loading