Like standard, but with support for new syntax and AVA rules, to @novemberborn's taste
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.eslintrc.js
.gitignore
.travis.yml
.typescript.eslintrc.js
LICENSE
README.md
cli.js
index.js
options.js
package-lock.json
package.json

README.md

as-i-preach

Like standard, with additional configuration:

See .eslintrc.js and .typescript.eslintrc.js for details.

It's what I use.

Installation

$ npm install --save-dev @novemberborn/as-i-preach

Then add it to your package.json:

{
  "scripts": {
    "lint": "as-i-preach"
  }
}

Configuration

You can provide configuration in your package.json under the as-i-preach key:

{
  "as-i-preach": {
    "ignore": [
      "tmp.js"
    ]
  }
}

See standard-engine for details.

Additionally you can provide the following options:

  • allowDevDependencies: a string or array of glob patterns for files that are allowed to use devDependencies.

    Defaults to ["scripts/**/*.js", "test.js", "test/**/*.js"]

  • fakeDependencies: a string or array of regular expression patterns for dependency sources that are actually fake, and must not be linted.

    For example if you use babel-plugin-files, specify "^files:" to avoid linter errors for import statements that are handled by the plugin.

  • resolvers: a valid value for the eslint-plugin-import's import/resolver setting

Semantic versioning

ESLint config and plugin dependencies are pinned. Any rule or plugin addition that restricts the rules is considered a breaking change.