diff --git a/index.js b/index.js index d4b2086..d6b2f45 100644 --- a/index.js +++ b/index.js @@ -72,6 +72,13 @@ module.exports = { "files": ["*.yaml", "*.yml"], "plugins": ["yaml"], "extends": ["plugin:yaml/recommended"] + }, + // CSON files (use coffee) + { + "files": ["**/*.cson"], + "parser": "eslint-plugin-coffee", + "plugins": ["coffee", "only-warn"], + "extends": ["plugin:coffee/eslint-recommended"] } ] } diff --git a/react.js b/react.js index 01eb8d8..13f5bd9 100644 --- a/react.js +++ b/react.js @@ -73,6 +73,13 @@ module.exports = { "files": ["*.yaml", "*.yml"], "plugins": ["yaml"], "extends": ["plugin:yaml/recommended"] + }, + // CSON files (use coffee) + { + "files": ["**/*.cson"], + "parser": "eslint-plugin-coffee", + "plugins": ["coffee", "only-warn"], + "extends": ["plugin:coffee/eslint-recommended"] } ], "settings": { diff --git a/strict-react.js b/strict-react.js index 996d30a..4f4f8c0 100644 --- a/strict-react.js +++ b/strict-react.js @@ -73,6 +73,13 @@ module.exports = { "files": ["*.yaml", "*.yml"], "plugins": ["yaml"], "extends": ["plugin:yaml/recommended"] + }, + // CSON files (use coffee) + { + "files": ["**/*.cson"], + "parser": "eslint-plugin-coffee", + "plugins": ["coffee", "only-warn"], + "extends": ["plugin:coffee/eslint-recommended"] } ], "settings": { diff --git a/strict.js b/strict.js index 170aad3..3c68873 100644 --- a/strict.js +++ b/strict.js @@ -72,6 +72,13 @@ module.exports = { "files": ["*.yaml", "*.yml"], "plugins": ["yaml"], "extends": ["plugin:yaml/recommended"] + }, + // CSON files (use coffee) + { + "files": ["**/*.cson"], + "parser": "eslint-plugin-coffee", + "plugins": ["coffee", "only-warn"], + "extends": ["plugin:coffee/eslint-recommended"] } ] }