fis-lint-jshint

raw JSON →
0.0.10 verified Fri May 01 auth: no javascript deprecated

A lint plugin for the FIS build system that integrates JSHint to validate JavaScript files. Current stable version is 0.0.10, last released in 2014. It allows configuration of JSHint options and file ignoring patterns. This plugin is tied to the now-deprecated FIS1 ecosystem; for modern projects, consider using ESLint directly with FIS3's built-in lint capabilities or alternative linting strategies.

error Error: Cannot find module 'jshint'
cause Missing peer dependency jshint
fix
Run npm install -g jshint alongside the plugin.
error TypeError: fis.config.set is not a function
cause FIS not installed or not loaded before config
fix
Ensure require('fis') is called before configuring, or use global install.
deprecated Package is unmaintained since 2014. FIS1 is deprecated; use FIS3 or alternative tools.
fix Migrate to FIS3 with built-in ESLint support or switch to standalone ESLint.
breaking Requires global installation of both fis and the plugin. Local devDependencies may cause runtime errors.
fix Use `npm install -g fis` and `npm install -g fis-lint-jshint`.
npm install fis-lint-jshint
yarn add fis-lint-jshint
pnpm add fis-lint-jshint

Global install of fis-lint-jshint and configure JSHint options via FIS config.

npm install -g fis-lint-jshint
# then in your fis-conf.js:
fis.config.set('modules.lint.js', 'jshint');
fis.config.set('settings.lint.jshint', {
  camelcase: true,
  curly: true,
  eqeqeq: true,
  forin: true,
  immed: true,
  latedef: true,
  newcap: true,
  noarg: true,
  noempty: true,
  node: true
});