{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/87","repository_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava","labels_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/87/comments","events_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/87/events","html_url":"https://github.com/sindresorhus/eslint-plugin-ava/issues/87","id":149095207,"number":87,"title":"Create an `eslint-config-ava` default configuration","user":{"login":"Spy-Seth","id":95120,"avatar_url":"https://avatars.githubusercontent.com/u/95120?v=3","gravatar_id":"","url":"https://api.github.com/users/Spy-Seth","html_url":"https://github.com/Spy-Seth","followers_url":"https://api.github.com/users/Spy-Seth/followers","following_url":"https://api.github.com/users/Spy-Seth/following{/other_user}","gists_url":"https://api.github.com/users/Spy-Seth/gists{/gist_id}","starred_url":"https://api.github.com/users/Spy-Seth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spy-Seth/subscriptions","organizations_url":"https://api.github.com/users/Spy-Seth/orgs","repos_url":"https://api.github.com/users/Spy-Seth/repos","events_url":"https://api.github.com/users/Spy-Seth/events{/privacy}","received_events_url":"https://api.github.com/users/Spy-Seth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-18T09:23:30Z","updated_at":"2016-04-18T09:28:31Z","closed_at":"2016-04-18T09:28:31Z","body":"It could be nice that you share a default `eslint-config-ava` that define a default configuration for the `eslint-plugin-ava` rules. It will allow us to use the `eslint` extends feature: `extends: ['airbnb', 'ava']` and avoid us to have a full block of configurations that is complicated to keep up to date (especially to add new ava rules):\r\n\r\n```js\r\n{\r\n    // ...\r\n    'rules': {\r\n        // ...\r\n        'ava/assertion-message': ['error', 'always'],\r\n        'ava/max-asserts': 'off',\r\n        'ava/no-cb-test': 'warn',\r\n        'ava/no-identical-title': 'error',\r\n        'ava/no-ignored-test-files': 'error',\r\n        'ava/no-invalid-end': 'error',\r\n        'ava/no-only-test': 'error',\r\n        'ava/no-skip-assert': 'error',\r\n        'ava/no-skip-test': 'error',\r\n        'ava/no-statement-after-end': 'error',\r\n        'ava/no-todo-test': 'warn',\r\n        'ava/no-unknown-modifiers': 'error',\r\n        'ava/prefer-power-assert': 'off',\r\n        'ava/test-ended': 'error',\r\n        'ava/test-title': ['error', 'always'],\r\n        'ava/use-t-well': 'error',\r\n        'ava/use-t': 'error',\r\n        'ava/use-test': 'error',\r\n        'ava/use-true-false': 'error'\r\n    }\r\n}\r\n```\r\n\r\nWith a default ``eslint-config-ava` all we have to do is to (maybe) tweak one or two rules to match our requirements."},"comment":{"url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/comments/211293837","html_url":"https://github.com/sindresorhus/eslint-plugin-ava/issues/87#issuecomment-211293837","issue_url":"https://api.github.com/repos/sindresorhus/eslint-plugin-ava/issues/87","id":211293837,"user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T09:28:31Z","updated_at":"2016-04-18T09:28:31Z","body":"We already have that bundled in this plugin: https://github.com/sindresorhus/eslint-plugin-ava#recommended-config"}}