aboutsummaryrefslogtreecommitdiff
path: root/modern/.eslintrc.js
diff options
context:
space:
mode:
authorDesmond Kyeremeh <elDekyfin@gmail.com>2021-07-20 16:02:48 +0000
committerDesmond Kyeremeh <elDekyfin@gmail.com>2021-07-20 16:02:48 +0000
commitfbf1be890ad30cd3a294c969fed3efe61ad59974 (patch)
treeb6b014e98b6f79bd3d9b05aac4a1da355a11804b /modern/.eslintrc.js
parent4a6ed2462ed5ed2960fc8245ac3c5bae967e685b (diff)
parent16d579d1628bd8aa4a8d1f262ed70face50af907 (diff)
downloadtrackermap-web-fbf1be890ad30cd3a294c969fed3efe61ad59974.tar.gz
trackermap-web-fbf1be890ad30cd3a294c969fed3efe61ad59974.tar.bz2
trackermap-web-fbf1be890ad30cd3a294c969fed3efe61ad59974.zip
Merge remote-tracking branch 'origin/master' into device_list
Diffstat (limited to 'modern/.eslintrc.js')
-rw-r--r--modern/.eslintrc.js35
1 files changed, 19 insertions, 16 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js
index a1089804..a4cf3053 100644
--- a/modern/.eslintrc.js
+++ b/modern/.eslintrc.js
@@ -1,18 +1,21 @@
module.exports = {
- "extends": "airbnb",
- "plugins": [
- "react"
- ],
- "ignorePatterns": ["serviceWorker.js", "localization.js", "switcher.js"],
- "rules": {
- "max-len": [0],
- "no-shadow": [0],
- "no-return-assign": [0],
- "no-param-reassign": [0],
- "no-prototype-builtins": [0],
- "react/jsx-filename-extension": [1, { "extensions": [".js"] }],
- "react/prop-types": [0],
- "react/jsx-props-no-spreading": [0],
- "jsx-a11y/anchor-is-valid": [0]
- }
+ extends: 'airbnb',
+ parserOptions: {
+ ecmaVersion: 2020,
+ },
+ plugins: [
+ 'react',
+ ],
+ ignorePatterns: ['serviceWorker.js', 'localization.js', 'switcher.js'],
+ rules: {
+ 'max-len': [0],
+ 'no-shadow': [0],
+ 'no-return-assign': [0],
+ 'no-param-reassign': [0],
+ 'no-prototype-builtins': [0],
+ 'react/jsx-filename-extension': [1, { extensions: ['.js'] }],
+ 'react/prop-types': [0],
+ 'react/jsx-props-no-spreading': [0],
+ 'jsx-a11y/anchor-is-valid': [0],
+ },
};