This package has been deprecated

Author message:

Please upgrade to @novemberborn/eslint-plugin-as-i-preach

@novemberborn/as-i-preach

11.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @novemberborn/as-i-preach

Weekly Downloads

38

Version

11.0.0

License

ISC

Last publish

Collaborators

  • novemberborn