{"action":"closed","issue":{"url":"https://api.github.com/repos/atfzl/eslint-plugin-css-modules/issues/1","repository_url":"https://api.github.com/repos/atfzl/eslint-plugin-css-modules","labels_url":"https://api.github.com/repos/atfzl/eslint-plugin-css-modules/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/atfzl/eslint-plugin-css-modules/issues/1/comments","events_url":"https://api.github.com/repos/atfzl/eslint-plugin-css-modules/issues/1/events","html_url":"https://github.com/atfzl/eslint-plugin-css-modules/issues/1","id":194838334,"number":1,"title":"Split in two different rules","user":{"login":"nicolo-ribaudo","id":7000710,"avatar_url":"https://avatars.githubusercontent.com/u/7000710?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolo-ribaudo","html_url":"https://github.com/nicolo-ribaudo","followers_url":"https://api.github.com/users/nicolo-ribaudo/followers","following_url":"https://api.github.com/users/nicolo-ribaudo/following{/other_user}","gists_url":"https://api.github.com/users/nicolo-ribaudo/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolo-ribaudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolo-ribaudo/subscriptions","organizations_url":"https://api.github.com/users/nicolo-ribaudo/orgs","repos_url":"https://api.github.com/users/nicolo-ribaudo/repos","events_url":"https://api.github.com/users/nicolo-ribaudo/events{/privacy}","received_events_url":"https://api.github.com/users/nicolo-ribaudo/received_events","type":"User","site_admin":false},"labels":[{"id":497811235,"url":"https://api.github.com/repos/atfzl/eslint-plugin-css-modules/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-11T15:41:09Z","updated_at":"2016-12-14T16:41:58Z","closed_at":"2016-12-14T16:41:58Z","body":"First of all, thanks for this plugin! 😃 \r\n\r\nWhat do you think about splitting `css-modules/no-unused-or-extra-class` in two different rules?So that it is possible, for example, to report an error when using an undeclared class but to report a warning when a class is unused.\r\ne.g.\r\n```js\r\n// .eslintrc.json\r\n{\r\n    ...\r\n    \"css-modules/no-undef-class\": 2, // [1]\r\n    \"css-modules/no-unused-class\": 1\r\n}\r\n```\r\n\r\n---\r\n\r\n**PS** It has been a little challenging to find the github repo of this package (since currently [Google indexed just the npm page](https://www.google.com/search?q=%22eslint-plugin-css-modules%22&oq=%22eslint-plugin-css-modules&aqs=chrome.1.69i57j69i59.3128j0j7&sourceid=chrome&ie=UTF-8)). Can you please add this repo's url to your `package.json` so that npm shows it?"}}
{"actor":{"display_login":"atfzl"}}