This package has been deprecated

Author message:

Use eslint-config-kyle instead

eslint-plugin-compsci

0.0.2 • Public • Published

eslint-plugin-compsci

Build Status Coverage Status npm version

📚 Rules for NCEA computer science

Usage

Install ESLint and eslint-plugin-compsci:

npm install --save-dev eslint eslint-plugin-compsci

Replace your eslint config with the following:

{
  "extends": ["plugin:compsci/all"]
}

Supported Rules

See the docs/rules folder.

Contribute to this plugin

Run npm i -g yo generator-eslint.

To create a new rule, run yo eslint:rule. Fill out the files it generates. Or manually:

  • docs/rules/RULE.md
  • src/rules/RULE.js
  • test/rules/RULE.js

Use astexplorer set to babel-eslint and transform: eslint-v4.

To test the rules, run npm test

Package Sidebar

Install

npm i eslint-plugin-compsci

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

3.35 kB

Total Files

4

Last publish

Collaborators

  • kyle.h