Skip to content

Commit

Permalink
Update to latest airbnb lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonramirez committed May 2, 2024
1 parent 535030f commit 3b9e7bb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
26 changes: 18 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"devDependencies": {
"async": "^3.2.5",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"expect.js": "^0.3.1",
"fs-writefile-promise": "^3.0.2",
Expand Down
7 changes: 5 additions & 2 deletions tasks/jsonlint.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ const printer = require('@prantlf/jsonlint/lib/printer');
const gruntJsonLintTask = require('../lib/grunt-jsonlint-task');

module.exports = (grunt) => {
grunt.registerMultiTask('jsonlint', 'Validate JSON files.',
gruntJsonLintTask(grunt, jsonlint, validator, sorter, printer));
grunt.registerMultiTask(
'jsonlint',
'Validate JSON files.',
gruntJsonLintTask(grunt, jsonlint, validator, sorter, printer)
);
};

0 comments on commit 3b9e7bb

Please sign in to comment.