Page MenuHomeWickedGov Phorge

Gruntfile.js
No OneTemporary

Size
718 B
Referenced Files
None
Subscribers
None

Gruntfile.js

'use strict';
module.exports = function ( grunt ) {
const conf = grunt.file.readJSON( 'extension.json' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-stylelint' );
grunt.initConfig( {
eslint: {
options: {
cache: true
},
all: [ '.' ]
},
banana: Object.assign(
conf.MessagesDirs,
{
options: {
requireLowerCase: 'initial'
}
}
),
stylelint: {
all: [
'**/*.css',
'**/*.less',
'!node_modules/**',
'!vendor/**'
]
}
} );
grunt.registerTask( 'lint', [ 'eslint', 'banana', 'stylelint' ] );
grunt.registerTask( 'test', [ 'lint' ] );
grunt.registerTask( 'default', [ 'test' ] );
};

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 19, 14:38 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
36/aa/9fa155f33474f700bf46c2ae4054
Default Alt Text
Gruntfile.js (718 B)

Event Timeline