{"id":19441535,"url":"https://github.com/standard/standardx","last_synced_at":"2025-04-05T10:08:19.249Z","repository":{"id":41951026,"uuid":"100065571","full_name":"standard/standardx","owner":"standard","description":":boom: JavaScript Standard Style with custom tweaks","archived":false,"fork":false,"pushed_at":"2023-09-16T07:30:44.000Z","size":55,"stargazers_count":147,"open_issues_count":7,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-29T09:08:57.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/standard.png","metadata":{"funding":{"github":["standard","feross"]},"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-11T19:50:21.000Z","updated_at":"2024-11-07T17:03:20.000Z","dependencies_parsed_at":"2024-06-18T13:42:25.410Z","dependency_job_id":"62769678-869a-4afe-ade9-67c481958d1b","html_url":"https://github.com/standard/standardx","commit_stats":{"total_commits":54,"total_committers":6,"mean_commits":9.0,"dds":0.537037037037037,"last_synced_commit":"12fe7cc1b8061f2f45a02b6b03105395ab640e27"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandardx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandardx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandardx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/standard%2Fstandardx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/standard","download_url":"https://codeload.github.com/standard/standardx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318744,"owners_count":20919484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T15:36:09.429Z","updated_at":"2025-04-05T10:08:19.230Z","avatar_url":"https://github.com/standard.png","language":"JavaScript","funding_links":["https://github.com/sponsors/standard","https://github.com/sponsors/feross"],"categories":[],"sub_categories":[],"readme":"# standardx\n\nJavaScript Standard Style with custom tweaks\n\n[![npm][npm-image]][npm-url]\n[![tests][tests-image]][tests-url]\n[![standard][standard-image]][standard-url]\n\n[npm-image]: https://img.shields.io/npm/v/standardx.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/standardx\n[tests-image]: https://github.com/standard/standardx/actions/workflows/test.yml/badge.svg\n[tests-url]: https://github.com/standard/standardx/actions/workflows/test.yml\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[standard-url]: http://npm.im/standard\n\n\n## Overview\n\nThis package allows users to follow JavaScript Standard Style, but deviate if needed. This can be done by adding an `.eslintrc` file to their project directory or by adding an `\"eslintConfig\"` attribute to your `package.json`. That eslint config will be layed on top of the `standard` ruleset.\n\nIf there is a `standard` attribute in your `package.json` for defining globals or ignoring files, rename it to `standardx`:\n\n```js\n\"standardx\": {\n    \"global\": [\n      \"chrome\",\n      \"muon\",\n      \"postMessage\"\n    ]\n}\n```\n\nAll other `standard` features remain intact (including `--fix`!)\n\n## Install\n\n```\nnpm install standardx --global\n```\n\n## Usage\nUse `standardx` on the command line the same way you use `standard`:\n\n```\nUsage:\n    standardx \u003cflags\u003e [FILES...]\n\n    If FILES is omitted, then all JavaScript source files (*.js, *.jsx) in the current\n    working directory are checked, recursively.\n\n    Certain paths (node_modules/, coverage/, vendor/, *.min.js, bundle.js, and\n    files/folders that begin with '.' like .git/) are automatically ignored.\n\n    Paths in a project's root .gitignore file are also automatically ignored.\n\nFlags:\n        --fix       Automatically fix problems\n    -v, --verbose   Show rule names for errors (to ignore specific rules)\n        --version   Show current version\n    -h, --help      Show usage information\n\nFlags (advanced):\n        --stdin     Read file text from stdin\n        --global    Declare global variable\n        --plugin    Use custom eslint plugin\n        --env       Use custom eslint environment\n        --parser    Use custom js parser (e.g. babel-eslint)\n```\n\n## Configuring\n\nRunning `standardx` with no additional configuration is the same as running `standard` itself. (Except rename the `\"standard\"` property in `package.json` to `\"standardx\"` if you have one.)\n\nIf there are rules you would like turned off, modify the ruleset using eslint config. Check out [Configuring eslint](http://eslint.org/docs/user-guide/configuring) for more information.\n\n### Example: Allow snake_case by turning off the camelCase rule\n\nVia: `.eslintrc`:\n```json\n{\n  \"rules\": {\n    \"camelcase\": 0\n  }\n}\n```\n\nor via package.json:\n```json\n{\n  \"name\": \"coolproject\",\n  \"description\": \"My Cool Project\",\n  \"version\": \"1.0.0\",\n  \"author\": \"Fantastic Developer\",\n  \"eslintConfig\": {\n    \"rules\": {\n      \"camelcase\": 0\n    }\n  }\n}\n```\n\nNow, running `standardx` (with no additional arguments) will allow snake_case without error!\n\n## Contributing\n\nContributions welcome! Please read the [contributing guidelines](CONTRIBUTING.md) first.\n\n## License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandard%2Fstandardx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstandard%2Fstandardx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstandard%2Fstandardx/lists"}