Nondigestible Purple Mayonnaise

    eslint-config-interfaced

    2.1.3 • Public • Published

    eslint-config-interfaced

    This package provides extendable shared ESLint config for the approaches adopted by Interfaced company.

    Config's target environment leverages ECMAScript 6 with Closure Compiler.

    Also there is a few sub configs:

    Usage

    1. Install the package and the required plugins:
    npm info "eslint-config-interfaced@latest" peerDependencies
    npm i \
        eslint-config-interfaced@latest \
        eslint-plugin-interfaced@<versionFromPeerDependencies> \
        eslint-plugin-node@<versionFromPeerDependencies> \
        eslint-plugin-import@<versionFromPeerDependencies> \
        eslint-plugin-jsdoc@<versionFromPeerDependencies>
    --save-dev

    Or using npx's shortcut:

    npx install-peerdeps eslint-config-interfaced@latest --dev

    Note: eslint-plugin-node and eslint-plugin-import are required only for interafced/node and interfaced/esm respectively, so if you are not going to use one of these sub configs you can omit them.

    1. Add "extends": "interfaced" (or one of the sub configs) to your .eslintrc file.
    {
    	"extends": "interfaced",
    	"overrides": [{
    		"files": "scripts/**",
    		"extends": "interfaced/node"
    	}]
    }

    Install

    npm i eslint-config-interfaced

    DownloadsWeekly Downloads

    6

    Version

    2.1.3

    License

    MIT

    Unpacked Size

    33.6 kB

    Total Files

    25

    Last publish

    Collaborators

    • lacki
    • reefridge
    • kirilldronkin