Skip to content

Commit 6d50a23

Browse files
committed
Build: add eslint; upgrade dependencies
1 parent a2a01a4 commit 6d50a23

File tree

8 files changed

+1221
-1441
lines changed

8 files changed

+1221
-1441
lines changed

.editorconfig

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ trim_trailing_whitespace = true
1010
insert_final_newline = true
1111
indent_style = tab
1212

13-
[package.json]
14-
indent_style = space
15-
indent_size = 2
16-
17-
[*.yml]
13+
[*.{json,yml}]
1814
indent_style = space
1915
indent_size = 2

CONTRIBUTING.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
<script>{
2-
"title": "Contributing",
3-
"customFields": [
4-
{
5-
"key": "is_chapter",
6-
"value": 0
7-
}
8-
]
9-
}</script>
10-
111
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.
122

133
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.

README.md

100755100644
File mode changed.

config-sample.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

eslint.config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const jqueryConfig = require( "eslint-config-jquery" );
2+
const globals = require( "globals" );
3+
4+
module.exports = [
5+
{
6+
ignores: [ "dist" ]
7+
},
8+
9+
{
10+
files: [ "eslint.config.js", "Gruntfile.js" ],
11+
languageOptions: {
12+
globals: {
13+
...globals.node
14+
}
15+
},
16+
rules: jqueryConfig.rules
17+
}
18+
];

0 commit comments

Comments
 (0)