Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
grunt-appc-js
Advanced tools
Linting and style checks for Appcelerator JavaScript
This plugin requires Grunt ~0.4.5
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-appc-js --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-appc-js');
In your project's Gruntfile, add a section named appcJs
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
appcJs: {
options: {
force: false,
fix: false,
globals: {
"$config": true
}
}
src: ['paths', 'to', 'js', 'files'],
}
});
You may not wisht to fix all source files:
grunt.initConfig({
appcJs: {
options: {force: true},
check: {
src: ['paths', 'to', 'js', 'files']
},
fix: {
options: {fix: true},
src: ['paths', 'to', 'js', 'files']
}
}
});
## Contributing
Add unit tests for any new or changed functionality. Run `npm test` to ensure your added code matches existing style standards.
FAQs
Linting and style checks for Appcelerator JavaScript
We found that grunt-appc-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.