@putout/cli-process-file
Run all 🐊Putout linters
Last updated 2 months ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @putout/cli-process-file 
SYNC missed versions from official npm registry.

@putout/cli-process-file NPM version

Process file using ????Putout, Samadhi and ESLint.

Install

npm i @putout/cli-process-file

Example

import {initProcessFile} from '@putout/cli-process-file';

const processFile = initProcessFile({
    fix: true,
});

const {code, places} = await processFile({
    source: `
        const a = b.a
    `,
});

// returns
['const {a} = b;', [{
    rule: 'no-undef (eslint)',
    message: '\'b\' is not defined.',
    position: {
        line: 2,
        column: 13,
    },
}]];

License

MIT

Current Tags

  • 7.0.0                                ...           latest (a month ago)

25 Versions

  • 7.0.0                                ...           a month ago
  • 6.1.0                                ...           2 months ago
  • 6.0.2                                ...           3 months ago
  • 6.0.1                                ...           3 months ago
  • 6.0.0                                ...           3 months ago
  • 5.1.2                                ...           3 months ago
  • 5.1.1                                ...           3 months ago
  • 5.1.0                                ...           3 months ago
  • 5.0.0                                ...           3 months ago
  • 4.1.1                                ...           8 months ago
  • 4.1.0                                ...           10 months ago
  • 4.0.0                                ...           10 months ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 2.3.2                                ...           a year ago
  • 2.3.1                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (6)
Dev Dependencies (10)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |